mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-27 21:19:31 +01:00
relay: don't send SQUIT for relay servers to networks that aren't connected
This commit is contained in:
parent
e28c351792
commit
bde2f66b2a
@ -1013,7 +1013,7 @@ def handle_disconnect(irc, numeric, command, args):
|
||||
except KeyError:
|
||||
pass
|
||||
for name, ircobj in world.networkobjects.copy().items():
|
||||
if name != irc.name:
|
||||
if name != irc.name and ircobj.connected.is_set():
|
||||
rsid = getRemoteSid(ircobj, irc)
|
||||
# Let's be super extra careful here...
|
||||
if rsid and name in relayservers and irc.name in relayservers[name]:
|
||||
|
Loading…
Reference in New Issue
Block a user