typo in modules.py, '_reload' -> 'self._reload'

This commit is contained in:
jesopo 2018-12-02 09:19:03 +00:00
parent 389366ce5d
commit 92f255e9be

View file

@ -54,7 +54,7 @@ class Module(ModuleManager.BaseModule):
""" """
name = event["args_split"][0].lower() 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) event["stdout"].write("Reloaded '%s'" % name)
@utils.hook("received.command.reloadallmodules") @utils.hook("received.command.reloadallmodules")