mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Fixed problem that allowed connecting to an already-connected network.
This commit is contained in:
parent
9aaba996b3
commit
d5a889b54f
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user