Let's not synchronize topics unless we're actually relaying the channel, k?

This commit is contained in:
Jeremy Fincher 2004-04-27 10:55:02 +00:00
parent fb46330ee7
commit 4db5d0e536

View File

@ -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)