also ban cloak because ngircd's line matching is useless
This commit is contained in:
parent
60d6d97160
commit
3dc7261caf
1 changed files with 2 additions and 1 deletions
3
bam.py
3
bam.py
|
@ -37,8 +37,9 @@ class Server(BaseServer):
|
||||||
if line.params[1] in self.isoper:
|
if line.params[1] in self.isoper:
|
||||||
self.isoper.remove(line.params[1])
|
self.isoper.remove(line.params[1])
|
||||||
return
|
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(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):
|
async def on_privmsg(self, line):
|
||||||
nick = line.hostmask.nickname
|
nick = line.hostmask.nickname
|
||||||
|
|
Loading…
Reference in a new issue