typo in modules.py, '_reload' -> 'self._reload'
This commit is contained in:
parent
389366ce5d
commit
92f255e9be
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue