mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Fixed stupid bug in outFilter (extra parenthese in regexp)
This commit is contained in:
parent
fae918a1ba
commit
34a47130e1
@ -162,7 +162,7 @@ class Relay(privmsgs.CapabilityCheckingPrivmsg):
|
|||||||
def outFilter(self, irc, msg):
|
def outFilter(self, irc, msg):
|
||||||
if msg.command == 'PRIVMSG':
|
if msg.command == 'PRIVMSG':
|
||||||
abbreviations = self.abbreviations.values()
|
abbreviations = self.abbreviations.values()
|
||||||
r = re.compile(r'<([^@]+@(?:%s)>' % '|'.join(abbreviations))
|
r = re.compile(r'<[^@]+@(?:%s)>' % '|'.join(abbreviations))
|
||||||
if r.match(msg.args[1]):
|
if r.match(msg.args[1]):
|
||||||
channel = msg.args[0]
|
channel = msg.args[0]
|
||||||
abbreviation = self.abbreviations[irc]
|
abbreviation = self.abbreviations[irc]
|
||||||
|
Loading…
Reference in New Issue
Block a user