Fixed stupid bug in outFilter (extra parenthese in regexp)

This commit is contained in:
Jeremy Fincher 2003-03-27 08:27:35 +00:00
parent fae918a1ba
commit 34a47130e1
1 changed files with 1 additions and 1 deletions

View File

@ -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]