From a368bc018af6b74a33cf44a40ae43dafd79e850a Mon Sep 17 00:00:00 2001 From: jesopo Date: Mon, 6 May 2019 17:13:09 +0100 Subject: [PATCH] `server` -> `event["server"]` --- modules/commands/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/commands/__init__.py b/modules/commands/__init__.py index 472668a5..9f654cfc 100644 --- a/modules/commands/__init__.py +++ b/modules/commands/__init__.py @@ -375,7 +375,7 @@ class Module(ModuleManager.BaseModule): event["stderr"].write("I'm already ignoring '%s' for %s" % (command, str(event["server"]))) else: - server.set_setting(setting, True) + event["server"].set_setting(setting, True) event["stdout"].write("Now ignoring '%s' for %s" % (command, str(event["server"])))