3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-01 01:09:22 +01:00

relay: squash another "dictionary changed size during iteration" bug

This commit is contained in:
James Lu 2015-11-26 22:50:20 -08:00
parent c5acd5cd38
commit a7f5068bd8

View File

@ -471,7 +471,7 @@ def isRelayClient(irc, user):
### EVENT HANDLER INTERNALS
def relayJoins(irc, channel, users, ts, burst=True):
for name, remoteirc in world.networkobjects.items():
for name, remoteirc in world.networkobjects.copy().items():
queued_users = []
if name == irc.name or not remoteirc.connected.is_set():
# Don't relay things to their source network...