also ban cloak because ngircd's line matching is useless

This commit is contained in:
xfnw 2022-02-27 06:46:53 -07:00
parent 60d6d97160
commit 3dc7261caf
1 changed files with 2 additions and 1 deletions

3
bam.py
View File

@ -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