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:
parent
c5acd5cd38
commit
a7f5068bd8
@ -471,7 +471,7 @@ def isRelayClient(irc, user):
|
|||||||
### EVENT HANDLER INTERNALS
|
### EVENT HANDLER INTERNALS
|
||||||
|
|
||||||
def relayJoins(irc, channel, users, ts, burst=True):
|
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 = []
|
queued_users = []
|
||||||
if name == irc.name or not remoteirc.connected.is_set():
|
if name == irc.name or not remoteirc.connected.is_set():
|
||||||
# Don't relay things to their source network...
|
# Don't relay things to their source network...
|
||||||
|
Loading…
Reference in New Issue
Block a user