fixed ban message to reflect the correct channel

This commit is contained in:
Zachary Bloomquist 2012-08-05 23:48:24 -03:00
parent 6b383ec134
commit 74c143a8b7

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;