mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-17 06:00:42 +01:00
Topic sync has broken one of our invariants.
This commit is contained in:
parent
fccf2c44de
commit
6950f65c98
@ -514,7 +514,7 @@ class Relay(callbacks.Privmsg, configurable.Mixin):
|
|||||||
return s
|
return s
|
||||||
|
|
||||||
def _sendToOthers(self, irc, msg):
|
def _sendToOthers(self, irc, msg):
|
||||||
assert msg.command == 'PRIVMSG'
|
assert msg.command == 'PRIVMSG' or msg.command == 'TOPIC'
|
||||||
for otherIrc in self.ircs.itervalues():
|
for otherIrc in self.ircs.itervalues():
|
||||||
if otherIrc != irc:
|
if otherIrc != irc:
|
||||||
if msg.args[0] in otherIrc.state.channels:
|
if msg.args[0] in otherIrc.state.channels:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user