From cc171eb79a5d7500487ff3c0c0955d337d6b72a2 Mon Sep 17 00:00:00 2001 From: James Lu Date: Sun, 27 Sep 2015 10:45:08 -0700 Subject: [PATCH] relay: abort connection when spawning a server fails --- plugins/relay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/relay.py b/plugins/relay.py index c741b0b..4bea4ab 100644 --- a/plugins/relay.py +++ b/plugins/relay.py @@ -156,7 +156,7 @@ def getRemoteSid(irc, remoteirc): except ValueError: # Network not initialized yet. log.exception('(%s) Failed to spawn server for %r:', irc.name, remoteirc.name) - return + irc.aborted.set() relayservers[irc.name][remoteirc.name] = sid return sid