'existing_server' -> 'server'
This commit is contained in:
parent
9d1b640db4
commit
869e91fc2a
1 changed files with 1 additions and 2 deletions
|
@ -84,8 +84,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
alias = event["args_split"][0]
|
alias = event["args_split"][0]
|
||||||
server = self._server_from_alias(alias)
|
server = self._server_from_alias(alias)
|
||||||
if server:
|
if server:
|
||||||
raise utils.EventError("Already connected to %s" % str(
|
raise utils.EventError("Already connected to %s" % str(server))
|
||||||
existing_server))
|
|
||||||
|
|
||||||
server = self.bot.add_server(self._id_from_alias(alias))
|
server = self.bot.add_server(self._id_from_alias(alias))
|
||||||
event["stdout"].write("Connecting to %s" % str(server))
|
event["stdout"].write("Connecting to %s" % str(server))
|
||||||
|
|
Loading…
Reference in a new issue