From a879125883316209b174aa1b6b3a9768365d6469 Mon Sep 17 00:00:00 2001 From: jesopo Date: Sun, 30 Sep 2018 20:53:36 +0100 Subject: [PATCH] Typo in modules/check_mode.py; 'required_mode' -> 'require_mode' --- modules/check_mode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/check_mode.py b/modules/check_mode.py index 953b04e9..e364a4ab 100644 --- a/modules/check_mode.py +++ b/modules/check_mode.py @@ -7,5 +7,5 @@ class Module(ModuleManager.BaseModule): require_mode = event["hook"].get_kwarg("require_mode") if event["is_channel"] and require_mode: if not event["target"].mode_or_above(event["user"], - required_mode): + require_mode): return "You do not have permission to do this"