- if(bad_channel_ban(channel, user, argv[1], &victimCount, victims))
- {
- if(cmd)
- reply("CSMSG_MASK_PROTECTED", argv[1]);
+ b = bad_channel_ban(channel, user, argv[1], &victimCount, victims);
+ if(cmd && (b == 1)) {
+ reply("CSMSG_MASK_PROTECTED", argv[1]);
+ return 0;
+ }
+ else if(cmd && (b == -1)) {
+ reply("CSMSG_BAD_BAN", argv[1]);