From 4db5d0e536471ea25246a1cc8445d668b40d02ed Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Tue, 27 Apr 2004 10:55:02 +0000 Subject: [PATCH] Let's not synchronize topics unless we're actually relaying the channel, k? --- plugins/Relay.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/Relay.py b/plugins/Relay.py index e2c8f75d8..d0289078e 100644 --- a/plugins/Relay.py +++ b/plugins/Relay.py @@ -596,6 +596,8 @@ class Relay(callbacks.Privmsg): if msg.nick == irc.nick: return (channel, newTopic) = msg.args + if channel not in self.registryValue('channels'): + return network = self.abbreviations[irc] if self.registryValue('topicSync', channel): m = ircmsgs.topic(channel, newTopic)