From d06d74efb9f844646ae25402c5c60aa4774c8269 Mon Sep 17 00:00:00 2001 From: jesopo Date: Sat, 11 Jan 2020 19:10:05 +0000 Subject: default pattern-based commands to expect_output=False --- src/core_modules/commands/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core_modules/commands') diff --git a/src/core_modules/commands/__init__.py b/src/core_modules/commands/__init__.py index 9822903f..6590a350 100644 --- a/src/core_modules/commands/__init__.py +++ b/src/core_modules/commands/__init__.py @@ -320,7 +320,7 @@ class Module(ModuleManager.BaseModule): self.command(event["server"], event["channel"], event["target_str"], True, event["user"], command, args_split, event["line"], hook, - command_prefix=command_prefix, + command_prefix=command_prefix, expect_output=True, buffer_line=event["buffer_line"]) else: self.events.on("unknown.command").call(server=event["server"], @@ -345,7 +345,7 @@ class Module(ModuleManager.BaseModule): event["target_str"], True, event["user"], command, "", event["line"], hook, match=match, message=event["message"], command_prefix="", - action=event["action"], + action=event["action"], expect_output=False, buffer_line=event["buffer_line"]) if res: -- cgit v1.3.1-10-gc9f91