we should be passing args in to _find_command_hook, not args_split

This commit is contained in:
jesopo 2019-11-15 12:37:43 +00:00
parent e2eccb951e
commit 64ab4ca1a1

View file

@ -357,7 +357,7 @@ class Module(ModuleManager.BaseModule):
try: try:
hook, command, args_split = self._find_command_hook( hook, command, args_split = self._find_command_hook(
event["server"], command, False, args_split) event["server"], command, False, args)
except BadContextException: except BadContextException:
event["user"].send_message( event["user"].send_message(
"That command is not valid in a PM") "That command is not valid in a PM")