From 8312efcc1c5f9326395ddc1b58e055f5c39185dc Mon Sep 17 00:00:00 2001 From: jesopo Date: Mon, 6 May 2019 17:12:05 +0100 Subject: Pass server param to _is_ignored --- modules/commands/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/commands/__init__.py b/modules/commands/__init__.py index 965518d8..472668a5 100644 --- a/modules/commands/__init__.py +++ b/modules/commands/__init__.py @@ -101,7 +101,7 @@ class Module(ModuleManager.BaseModule): return if self.has_command(command): - if self._is_ignored(event["user"], command): + if self._is_ignored(event["server"], event["user"], command): return hook = None -- cgit v1.3.1-10-gc9f91