From ec628f4f700f1a906f0aaf9027c4b1e26af34436 Mon Sep 17 00:00:00 2001 From: jesopo Date: Thu, 3 Oct 2019 05:19:16 +0100 Subject: [PATCH] `alias` doesnt exist either --- modules/admin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/admin.py b/modules/admin.py index b300d7be..2ca50843 100644 --- a/modules/admin.py +++ b/modules/admin.py @@ -78,7 +78,8 @@ class Module(ModuleManager.BaseModule): :usage: :permission: connect """ - server = self._server_from_alias(event["args"]) + alias = event["args_split"][0] + server = self._server_from_alias(alias) if server: raise utils.EventError("Already connected to %s" % str( existing_server))