send expect_output on private command events too

This commit is contained in:
jesopo 2020-01-11 19:20:30 +00:00
parent d06d74efb9
commit 6633427cb7

View file

@ -377,7 +377,7 @@ class Module(ModuleManager.BaseModule):
self.command(event["server"], event["user"], self.command(event["server"], event["user"],
event["user"].nickname, False, event["user"], command, event["user"].nickname, False, event["user"], command,
args_split, event["line"], hook, command_prefix="", args_split, event["line"], hook, command_prefix="",
buffer_line=event["buffer_line"]) buffer_line=event["buffer_line"], expect_output=True)
else: else:
self.events.on("unknown.command").call(server=event["server"], self.events.on("unknown.command").call(server=event["server"],
target=event["user"], user=event["user"], command=command, target=event["user"], user=event["user"], command=command,