Don't try to send messages to zombies.

This commit is contained in:
Jeremy Fincher 2004-08-27 08:46:29 +00:00
parent c38ca4dec1
commit 685eda4a9f
1 changed files with 1 additions and 1 deletions

View File

@ -433,7 +433,7 @@ class Relay(callbacks.Privmsg):
def _sendToOthers(self, irc, msg):
assert msg.command == 'PRIVMSG' or msg.command == 'TOPIC'
for otherIrc in world.ircs:
if otherIrc != irc:
if otherIrc != irc and not irc.zombie:
if msg.args[0] in otherIrc.state.channels:
self._addRelayedMsg(msg)
otherIrc.queueMsg(msg)