diff options
| author | 2018-09-03 21:48:14 +0100 | |
|---|---|---|
| committer | 2018-09-03 21:49:22 +0100 | |
| commit | ad775239b2c053888c26a3b7ffe4e279702b4698 (patch) | |
| tree | ef5d253bb0f67f80c63b2e85f9fb29bbee7ba138 /modules | |
| parent | Support TAGMSG in IRCLineHandler (diff) | |
| signature | ||
Send message-tags through PRIVMSG, NOTICE and !commands
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/commands.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/commands.py b/modules/commands.py index e3c4c00e..2461c485 100644 --- a/modules/commands.py +++ b/modules/commands.py @@ -110,7 +110,7 @@ class Module(object): returns = self.events.on("preprocess").on("command" ).call(hook=hook, user=event["user"], server=event["server"], - target=target, is_channel=is_channel) + target=target, is_channel=is_channel, tags=event["tags"]) for returned in returns: if returned: stderr.write(returned).send() @@ -133,7 +133,8 @@ class Module(object): ).call_limited(1, user=user, server=server, target=target, buffer=buffer, args=args, args_split=args_split, stdout=stdout, stderr=stderr, - command=command.lower(), is_channel=is_channel) + command=command.lower(), is_channel=is_channel, + tags=event["tags"]) if not hook.kwargs.get("skip_out", False): stdout.send() stderr.send() |
