Improve #21

Merged
pratyush merged 5 commits from improve into master 2024-12-16 09:14:05 +01:00
Showing only changes of commit 3ba723b111 - Show all commits

View File

@ -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)