Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
d96c690b35 |
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user