From 92f255e9bee83d7bdbec388073672138d7a1cfe6 Mon Sep 17 00:00:00 2001 From: jesopo Date: Sun, 2 Dec 2018 09:19:03 +0000 Subject: [PATCH] typo in modules.py, '_reload' -> 'self._reload' --- modules/modules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/modules.py b/modules/modules.py index cd3cad73..261dd12c 100644 --- a/modules/modules.py +++ b/modules/modules.py @@ -54,7 +54,7 @@ class Module(ModuleManager.BaseModule): """ name = event["args_split"][0].lower() - self._catch(name, lambda: _reload(name)) + self._catch(name, lambda: self._reload(name)) event["stdout"].write("Reloaded '%s'" % name) @utils.hook("received.command.reloadallmodules")