mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-30 14:49: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.
|
except ValueError: # Network not initialized yet, or a server name conflict.
|
||||||
log.exception('(%s) Failed to spawn server for %r:',
|
log.exception('(%s) Failed to spawn server for %r:',
|
||||||
irc.name, remoteirc.name)
|
irc.name, remoteirc.name)
|
||||||
# We will just bail here. Disconnect the bad network.
|
|
||||||
handle_disconnect(irc, None, 'PYLINK_DISCONNECT_RELAY_FORCED', {})
|
|
||||||
irc.disconnect()
|
|
||||||
raise
|
raise
|
||||||
|
|
||||||
# Mark the server as a relay server
|
# Mark the server as a relay server
|
||||||
|
Loading…
Reference in New Issue
Block a user