summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Pfuetzenreuter2024-10-06 16:45:27 +0200
committerGeorg Pfuetzenreuter2024-10-06 17:22:19 +0200
commit3ba723b111aef387499b8219ef114713a53c3ca8 (patch)
tree6d239e14618c9e42ee5c191fcf8b72f9b974cfc9
parent4d13d704dcd876bc6f4d182bdf3673fe1efd5a47 (diff)
downloadsnoparser-3ba723b111aef387499b8219ef114713a53c3ca8.tar.gz
snoparser-3ba723b111aef387499b8219ef114713a53c3ca8.tar.bz2
snoparser-3ba723b111aef387499b8219ef114713a53c3ca8.zip
Correct OPER regex
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
-rw-r--r--plugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin.py b/plugin.py
index 501ee3c..0398c5e 100644
--- a/plugin.py
+++ b/plugin.py
@@ -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)