Topic sync has broken one of our invariants.

This commit is contained in:
Jeremy Fincher 2004-01-19 20:21:30 +00:00
parent fccf2c44de
commit 6950f65c98

View File

@ -514,7 +514,7 @@ class Relay(callbacks.Privmsg, configurable.Mixin):
return s
def _sendToOthers(self, irc, msg):
assert msg.command == 'PRIVMSG'
assert msg.command == 'PRIVMSG' or msg.command == 'TOPIC'
for otherIrc in self.ircs.itervalues():
if otherIrc != irc:
if msg.args[0] in otherIrc.state.channels: