Just use "b" to query ban list

weechat-hashes
C. McEnroe 2020-02-20 03:48:26 -05:00
parent a3b6d5d9a7
commit a5cd2cd97a
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ static void commandBan(uint id, char *params) {
char b[ParamCap - 2] = "bbbbbbbbbbbbb"; char b[ParamCap - 2] = "bbbbbbbbbbbbb";
ircFormat("MODE %s +%.*s %s\r\n", idNames[id], count, b, params); ircFormat("MODE %s +%.*s %s\r\n", idNames[id], count, b, params);
} else { } else {
ircFormat("MODE %s +b\r\n", idNames[id]); ircFormat("MODE %s b\r\n", idNames[id]);
replies.ban++; replies.ban++;
} }
} }