mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 11:42:52 +01:00
Don't try to send messages to zombies.
This commit is contained in:
parent
c38ca4dec1
commit
685eda4a9f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user