mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-24 03:29:28 +01:00
relay: don't try to force network disconnects
This doesn't work, and seems to cause PyLink to freeze instead.
This commit is contained in:
parent
a6d9016464
commit
77edd9870c
@ -227,9 +227,6 @@ def spawnRelayServer(irc, remoteirc):
|
||||
except ValueError: # Network not initialized yet, or a server name conflict.
|
||||
log.exception('(%s) Failed to spawn server for %r:',
|
||||
irc.name, remoteirc.name)
|
||||
# We will just bail here. Disconnect the bad network.
|
||||
handle_disconnect(irc, None, 'PYLINK_DISCONNECT_RELAY_FORCED', {})
|
||||
irc.disconnect()
|
||||
raise
|
||||
|
||||
# Mark the server as a relay server
|
||||
|
Loading…
Reference in New Issue
Block a user