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
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ int event_cb(char *word[], void *userdata)
dwInfoFlags = NIIF_WARNING;
break;
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");
dwInfoFlags = NIIF_WARNING;
break;