From 3dc7261caf9142e9bac5bc7b096ac5ec8376603f Mon Sep 17 00:00:00 2001 From: xfnw Date: Sun, 27 Feb 2022 06:46:53 -0700 Subject: [PATCH] also ban cloak because ngircd's line matching is useless --- bam.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bam.py b/bam.py index 850d602..004f3dd 100644 --- a/bam.py +++ b/bam.py @@ -37,8 +37,9 @@ class Server(BaseServer): if line.params[1] in self.isoper: self.isoper.remove(line.params[1]) return - await self.send_raw(BADLINE.format(line.params[2].split()[4])) await self.send_raw(KILL.format(line.params[1])) + await self.send_raw(BADLINE.format(line.params[2].split()[3])) + await self.send_raw(BADLINE.format(line.params[2].split()[4])) async def on_privmsg(self, line): nick = line.hostmask.nickname