3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-27 21:19:31 +01:00

relay: add missing return in getRemoteSid

This commit is contained in:
James Lu 2015-10-10 15:24:22 -07:00
parent 07694ae642
commit e28c351792

View File

@ -189,6 +189,7 @@ def getRemoteSid(irc, remoteirc):
log.exception('(%s) Failed to spawn server for %r:',
irc.name, remoteirc.name)
irc.aborted.set()
return
else:
irc.servers[sid].remote = remoteirc.name
relayservers[irc.name][remoteirc.name] = sid