mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-30 14:14:37 +01:00
Made outFilter handle empty TOPICs.
This commit is contained in:
parent
7d01f9eeb3
commit
e0396337b1
@ -544,7 +544,7 @@ class Relay(callbacks.Privmsg):
|
|||||||
if otherIrc != irc:
|
if otherIrc != irc:
|
||||||
if channel in otherIrc.state.channels:
|
if channel in otherIrc.state.channels:
|
||||||
otherIrc.queueMsg(ircmsgs.privmsg(channel, s))
|
otherIrc.queueMsg(ircmsgs.privmsg(channel, s))
|
||||||
elif msg.command == 'TOPIC':
|
elif msg.command == 'TOPIC' and len(msg.args) > 1:
|
||||||
(channel, topic) = msg.args
|
(channel, topic) = msg.args
|
||||||
if channel in self.channels:
|
if channel in self.channels:
|
||||||
for otherIrc in self.ircs.itervalues():
|
for otherIrc in self.ircs.itervalues():
|
||||||
|
Loading…
Reference in New Issue
Block a user