include channel name in channel message and channel msg hilight event alerts (tdebaets)
This commit is contained in:
parent
afbd51dfe2
commit
a1f4443d65
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user