From 34a47130e1635c9f86d981d3dc24ffc97837f656 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Thu, 27 Mar 2003 08:27:35 +0000 Subject: [PATCH] Fixed stupid bug in outFilter (extra parenthese in regexp) --- plugins/Relay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Relay.py b/plugins/Relay.py index b2121404e..bef01689f 100644 --- a/plugins/Relay.py +++ b/plugins/Relay.py @@ -162,7 +162,7 @@ class Relay(privmsgs.CapabilityCheckingPrivmsg): def outFilter(self, irc, msg): if msg.command == 'PRIVMSG': abbreviations = self.abbreviations.values() - r = re.compile(r'<([^@]+@(?:%s)>' % '|'.join(abbreviations)) + r = re.compile(r'<[^@]+@(?:%s)>' % '|'.join(abbreviations)) if r.match(msg.args[1]): channel = msg.args[0] abbreviation = self.abbreviations[irc]