mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-30 06:49:24 +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:
|
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:
|
||||||
|
Loading…
Reference in New Issue
Block a user