From e0396337b105dbb1027d659ac13186900639bfa7 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Sat, 6 Sep 2003 02:10:55 +0000 Subject: [PATCH] Made outFilter handle empty TOPICs. --- plugins/Relay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Relay.py b/plugins/Relay.py index d500324ef..9eb9db642 100644 --- a/plugins/Relay.py +++ b/plugins/Relay.py @@ -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():