diff options
| author | 2019-11-27 12:06:57 +0000 | |
|---|---|---|
| committer | 2019-11-27 12:06:57 +0000 | |
| commit | 9972125b24c9917f74cabfafa780617b439acfa0 (patch) | |
| tree | 59a139885e398bdc04043b695f39c71b4bc5e98e /modules/commands | |
| parent | Merge branch 'master' into develop (diff) | |
remove IRCBuffer.skip_next (not used), pass buffer lines on message events
Diffstat (limited to 'modules/commands')
| -rw-r--r-- | modules/commands/__init__.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/modules/commands/__init__.py b/modules/commands/__init__.py index 71013c38..5a750a9b 100644 --- a/modules/commands/__init__.py +++ b/modules/commands/__init__.py @@ -315,7 +315,8 @@ 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, + buffer_line=event["buffer_line"]) else: self.events.on("unknown.command").call(server=event["server"], target=event["channel"], user=event["user"], @@ -336,7 +337,8 @@ 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"], + buffer_line=event["buffer_line"]) if res: break @@ -365,7 +367,8 @@ class Module(ModuleManager.BaseModule): if hook: self.command(event["server"], event["user"], 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"]) else: self.events.on("unknown.command").call(server=event["server"], target=event["user"], user=event["user"], command=command, |
