mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-19 08:59:27 +01:00
Fixed stupid bug in outFilter (forgot *not*)
This commit is contained in:
parent
34a47130e1
commit
256e2e0a5d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user