Fixed problem that allowed connecting to an already-connected network.

This commit is contained in:
Jeremy Fincher 2005-05-18 14:55:55 +00:00
parent 9aaba996b3
commit d5a889b54f

View File

@ -59,7 +59,9 @@ class Network(callbacks.Plugin):
""" """
try: try:
otherIrc = self._getIrc(network) 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: except callbacks.Error:
pass pass
if server: if server: