From 869e91fc2a0488800d32dd14fba672bb56847807 Mon Sep 17 00:00:00 2001 From: jesopo Date: Fri, 25 Oct 2019 13:39:00 +0100 Subject: [PATCH] 'existing_server' -> 'server' --- modules/admin.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/admin.py b/modules/admin.py index 1a732a7c..29c91720 100644 --- a/modules/admin.py +++ b/modules/admin.py @@ -84,8 +84,7 @@ class Module(ModuleManager.BaseModule): alias = event["args_split"][0] server = self._server_from_alias(alias) if server: - raise utils.EventError("Already connected to %s" % str( - existing_server)) + raise utils.EventError("Already connected to %s" % str(server)) server = self.bot.add_server(self._id_from_alias(alias)) event["stdout"].write("Connecting to %s" % str(server))