Merge pull request #41 from flotwig/patch-2

fixed ban message to reflect the correct channel
This commit is contained in:
bviktor 2012-08-05 19:54:48 -07:00
commit 7bff15a31a

View File

@ -114,7 +114,7 @@ int event_cb(char *word[], void *userdata)
dwInfoFlags = NIIF_WARNING; dwInfoFlags = NIIF_WARNING;
break; break;
case CHAN_BANNED: case CHAN_BANNED:
_snprintf(szInfo, 512, "Cannot join #%s You are banned.", word[1]); _snprintf(szInfo, 512, "Cannot join %s You are banned.", word[1]);
_snprintf(szName, 64, "Banned"); _snprintf(szName, 64, "Banned");
dwInfoFlags = NIIF_WARNING; dwInfoFlags = NIIF_WARNING;
break; break;