Improve #21
@ -386,7 +386,7 @@ class SnoParser(callbacks.Plugin):
|
|||||||
self._sendSnotice(irc, msg, repl)
|
self._sendSnotice(irc, msg, repl)
|
||||||
|
|
||||||
if "OPER" in text and "Client opered up" in text:
|
if "OPER" in text and "Client opered up" in text:
|
||||||
operregex = "^-OPER- Client opered up \[(.*)\, \ (.*)\]$"
|
operregex = "^-OPER- Client opered up \[(.*), (.*)\]$"
|
||||||
couple = re.match(operregex, text)
|
couple = re.match(operregex, text)
|
||||||
hostmask = couple.group(1)
|
hostmask = couple.group(1)
|
||||||
oper = couple.group(2)
|
oper = couple.group(2)
|
||||||
|
Loading…
Reference in New Issue
Block a user