From d5a889b54f3009030c59cae3b23de4bc70e44038 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Wed, 18 May 2005 14:55:55 +0000 Subject: [PATCH] Fixed problem that allowed connecting to an already-connected network. --- plugins/Network/plugin.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/Network/plugin.py b/plugins/Network/plugin.py index b60577976..c400422b9 100644 --- a/plugins/Network/plugin.py +++ b/plugins/Network/plugin.py @@ -59,7 +59,9 @@ class Network(callbacks.Plugin): """ try: otherIrc = self._getIrc(network) - irc.error('I\'m already connected to %s.' % network, Raise=True) + irc.error('I\'m already connected to %s.' % network) + return # We've gotta return here. This is ugly code, but I'm not + # quite sure what to do about it. except callbacks.Error: pass if server: