From 3ba723b111aef387499b8219ef114713a53c3ca8 Mon Sep 17 00:00:00 2001 From: Georg Pfuetzenreuter Date: Sun, 6 Oct 2024 16:45:27 +0200 Subject: [PATCH] Correct OPER regex Signed-off-by: Georg Pfuetzenreuter --- plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)