mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-23 10:34:19 +01:00
Let's not synchronize topics unless we're actually relaying the channel, k?
This commit is contained in:
parent
fb46330ee7
commit
4db5d0e536
@ -596,6 +596,8 @@ class Relay(callbacks.Privmsg):
|
|||||||
if msg.nick == irc.nick:
|
if msg.nick == irc.nick:
|
||||||
return
|
return
|
||||||
(channel, newTopic) = msg.args
|
(channel, newTopic) = msg.args
|
||||||
|
if channel not in self.registryValue('channels'):
|
||||||
|
return
|
||||||
network = self.abbreviations[irc]
|
network = self.abbreviations[irc]
|
||||||
if self.registryValue('topicSync', channel):
|
if self.registryValue('topicSync', channel):
|
||||||
m = ircmsgs.topic(channel, newTopic)
|
m = ircmsgs.topic(channel, newTopic)
|
||||||
|
Loading…
Reference in New Issue
Block a user