summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-02-20 03:48:26 -0500
committerJune McEnroe <june@causal.agency>2020-02-20 03:48:26 -0500
commita5cd2cd97ae18c3723c9edfecc946f98ebce090c (patch)
tree57e65dee8810f24f4cd971ec166a5d9bb330cf73
parentChange ban list formatting (diff)
downloadcatgirl-a5cd2cd97ae18c3723c9edfecc946f98ebce090c.tar.gz
catgirl-a5cd2cd97ae18c3723c9edfecc946f98ebce090c.zip
Just use "b" to query ban list
-rw-r--r--command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/command.c b/command.c
index c0b2ea2..1d19a91 100644
--- a/command.c
+++ b/command.c
@@ -152,7 +152,7 @@ static void commandBan(uint id, char *params) {
 		char b[ParamCap - 2] = "bbbbbbbbbbbbb";
 		ircFormat("MODE %s +%.*s %s\r\n", idNames[id], count, b, params);
 	} else {
-		ircFormat("MODE %s +b\r\n", idNames[id]);
+		ircFormat("MODE %s b\r\n", idNames[id]);
 		replies.ban++;
 	}
 }