From d96c690b356743ebaedcb3c13c62f46a54e81b24 Mon Sep 17 00:00:00 2001 From: Pratyush Desai Date: Tue, 24 Aug 2021 04:55:52 +0530 Subject: [PATCH] mom --- plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin.py b/plugin.py index 8c3717e..c57f9d6 100644 --- a/plugin.py +++ b/plugin.py @@ -100,7 +100,7 @@ class SnoParser(callbacks.Plugin): repl = f"\x02\x1FNOTICE: {DictFromSnotice['notice']} \x0F\x11\x0303 :=D\x0F \x02UnbannedBy:\x0F {DictFromSnotice['who']} \x02XLINE type:\x0F {DictFromSnotice['type']} \x02Host/IP:\x0F {DictFromSnotice['target']}" self._sendSnotice(irc, msg, repl) if 'KILL' in text: - killregex = "^-KILL- (.+) \[(.+)\] killed (\d) clients with a (KLINE|DLINE) \[(.+)\]$" + killregex = "^-KILL- (.+) \[(.+)\] killed (\d) clients with a (KLINE|``````````LINE) \[(.+)\]$" couple = re.match(killregex, text) who = couple.group(1) who_operator = couple.group(2) @@ -148,7 +148,7 @@ class SnoParser(callbacks.Plugin): self._setvhost(irc, msg, account) self._sendSnotice(irc, msg, repl) - + # Post Registration