From 256e2e0a5de93b9f34298178f21aa380218ff8cb Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Thu, 27 Mar 2003 08:37:17 +0000 Subject: [PATCH] Fixed stupid bug in outFilter (forgot *not*) --- plugins/Relay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Relay.py b/plugins/Relay.py index bef01689f..3c36b7de0 100644 --- a/plugins/Relay.py +++ b/plugins/Relay.py @@ -163,7 +163,7 @@ class Relay(privmsgs.CapabilityCheckingPrivmsg): if msg.command == 'PRIVMSG': abbreviations = self.abbreviations.values() r = re.compile(r'<[^@]+@(?:%s)>' % '|'.join(abbreviations)) - if r.match(msg.args[1]): + if not r.match(msg.args[1]): channel = msg.args[0] abbreviation = self.abbreviations[irc] s = self._formatPrivmsg(irc.nick, abbreviation, msg)