mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-12-04 22:11:52 +00:00
include channel name in channel message and channel msg hilight event alerts (tdebaets)
This commit is contained in:
1 parent
afbd51dfe2
commit
a1f4443d65
1 file changed
+2
-2
@@ -89,12 +89,12 @@ int event_cb(char *word[], void *userdata)
|
|||||||
{
|
{
|
||||||
case CHAN_HILIGHT:
|
case CHAN_HILIGHT:
|
||||||
_snprintf(szInfo, 512, "%s:\r\n%s", word[1], word[2]);
|
_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;
|
dwInfoFlags = NIIF_INFO;
|
||||||
break;
|
break;
|
||||||
case CHAN_MESSAGE:
|
case CHAN_MESSAGE:
|
||||||
_snprintf(szInfo, 512, "%s:\r\n%s", word[1], word[2]);
|
_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;
|
dwInfoFlags = NIIF_INFO;
|
||||||
break;
|
break;
|
||||||
case CHAN_TOPIC_CHANGE:
|
case CHAN_TOPIC_CHANGE:
|
||||||
|
|||||||
Reference in new issue
Block a user