we should be passing args
in to _find_command_hook, not args_split
This commit is contained in:
parent
e2eccb951e
commit
64ab4ca1a1
1 changed files with 1 additions and 1 deletions
|
@ -357,7 +357,7 @@ class Module(ModuleManager.BaseModule):
|
|||
|
||||
try:
|
||||
hook, command, args_split = self._find_command_hook(
|
||||
event["server"], command, False, args_split)
|
||||
event["server"], command, False, args)
|
||||
except BadContextException:
|
||||
event["user"].send_message(
|
||||
"That command is not valid in a PM")
|
||||
|
|
Loading…
Reference in a new issue