usage
doesn't exist. return None instead
This commit is contained in:
parent
6e90bf2412
commit
f1b15ea7b6
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ class Module(ModuleManager.BaseModule):
|
|||
if usages:
|
||||
return " | ".join(
|
||||
"%s %s" % (command, usage) for usage in usages)
|
||||
return usage
|
||||
return None
|
||||
|
||||
def _get_hook(self, command):
|
||||
hooks = self.events.on("received.command").on(command).get_hooks()
|
||||
|
|
Loading…
Reference in a new issue