diff options
| author | Georg Pfuetzenreuter | 2024-10-06 16:45:27 +0200 |
|---|---|---|
| committer | Georg Pfuetzenreuter | 2024-10-06 17:22:19 +0200 |
| commit | 3ba723b111aef387499b8219ef114713a53c3ca8 (patch) | |
| tree | 6d239e14618c9e42ee5c191fcf8b72f9b974cfc9 | |
| parent | 4d13d704dcd876bc6f4d182bdf3673fe1efd5a47 (diff) | |
| download | snoparser-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.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |
