diff --git a/plugins/relay.py b/plugins/relay.py index 3464fa4..18f22b9 100644 --- a/plugins/relay.py +++ b/plugins/relay.py @@ -253,8 +253,10 @@ def spawnRelayServer(irc, remoteirc): log.exception('(%s) Failed to spawn server for %r (possible jupe?):', irc.name, remoteirc.name) # We will just bail here. Disconnect the bad network. - - control.remove_network(irc) + try: + control.remove_network(irc) + except KeyError: + pass return # Mark the server as a relay server