pass whether a command.regex trigger was an ACTION or not

This commit is contained in:
jesopo 2019-10-03 16:42:11 +01:00
parent 15f28dad1e
commit 95f098b6d6

View file

@ -320,7 +320,8 @@ class Module(ModuleManager.BaseModule):
res = self.command(event["server"], event["channel"], res = self.command(event["server"], event["channel"],
event["target_str"], True, event["user"], command, event["target_str"], True, event["user"], command,
"", event["tags"], hook, match=match, "", event["tags"], hook, match=match,
message=event["message"], command_prefix="") message=event["message"], command_prefix="",
action=event["action"])
if res: if res:
break break