diff options
author | Berke Viktor <berkeviktor@aol.com> | 2011-08-09 20:51:32 +0200 |
---|---|---|
committer | Berke Viktor <berkeviktor@aol.com> | 2011-08-09 20:53:33 +0200 |
commit | a1f4443d657182a28b124b6a1390a26680f98fc5 (patch) | |
tree | d0c297315dc6e86e2fb4beaf747c58053117dca8 | |
parent | afbd51dfe2b9c39795efda4e17199efeccc1b05e (diff) |
include channel name in channel message and channel msg hilight event alerts (tdebaets)
-rw-r--r-- | plugins/xtray/callbacks.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/xtray/callbacks.cpp b/plugins/xtray/callbacks.cpp index 18547ab3..443cb05d 100644 --- a/plugins/xtray/callbacks.cpp +++ b/plugins/xtray/callbacks.cpp @@ -89,12 +89,12 @@ int event_cb(char *word[], void *userdata) { case CHAN_HILIGHT: _snprintf(szInfo, 512, "%s:\r\n%s", word[1], word[2]); - _snprintf(szName, 64, "Hilight"); + _snprintf(szName, 64, "Highlight: %s", xchat_get_info (ph, "channel")); dwInfoFlags = NIIF_INFO; break; case CHAN_MESSAGE: _snprintf(szInfo, 512, "%s:\r\n%s", word[1], word[2]); - _snprintf(szName, 64, "Channel Message"); + _snprintf(szName, 64, "Channel Message: %s", xchat_get_info (ph, "channel")); dwInfoFlags = NIIF_INFO; break; case CHAN_TOPIC_CHANGE: |