From 504a9be7d6336f1ff6c9681e1f9b1ce108703ae6 Mon Sep 17 00:00:00 2001 From: James Lu Date: Fri, 24 Jun 2016 18:41:13 -0700 Subject: [PATCH] relay: attempt to eliminate freezing when networks are down --- plugins/relay.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plugins/relay.py b/plugins/relay.py index 3c9c378..f891d2b 100644 --- a/plugins/relay.py +++ b/plugins/relay.py @@ -339,11 +339,9 @@ def getRemoteUser(irc, remoteirc, user, spawnIfMissing=True): Gets the UID of the relay client requested on the target network (remoteirc), spawning one if it doesn't exist and spawnIfMissing is True.""" - # Wait until both the local and remote networks are working before trying to spawn anything. + # Wait until both the network is working before trying to spawn anything. log.debug('(%s) getRemoteUser: waiting for irc.connected', irc.name) irc.connected.wait() - log.debug('(%s) getRemoteUser: waiting for %s.connected', irc.name, remoteirc.name) - remoteirc.connected.wait() # Don't spawn clones for registered service bots. sbot = irc.isServiceBot(user)