Made outFilter handle empty TOPICs.

This commit is contained in:
Jeremy Fincher 2003-09-06 02:10:55 +00:00
parent 7d01f9eeb3
commit e0396337b1
1 changed files with 1 additions and 1 deletions

View File

@ -544,7 +544,7 @@ class Relay(callbacks.Privmsg):
if otherIrc != irc:
if channel in otherIrc.state.channels:
otherIrc.queueMsg(ircmsgs.privmsg(channel, s))
elif msg.command == 'TOPIC':
elif msg.command == 'TOPIC' and len(msg.args) > 1:
(channel, topic) = msg.args
if channel in self.channels:
for otherIrc in self.ircs.itervalues():