Correct OPER regex
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
This commit is contained in:
parent
4d13d704dc
commit
3ba723b111
@ -386,7 +386,7 @@ class SnoParser(callbacks.Plugin):
|
||||
self._sendSnotice(irc, msg, repl)
|
||||
|
||||
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)
|
||||
hostmask = couple.group(1)
|
||||
oper = couple.group(2)
|
||||
|
Loading…
Reference in New Issue
Block a user