diff options
| author | 2018-10-01 17:26:31 +0100 | |
|---|---|---|
| committer | 2018-10-01 17:26:31 +0100 | |
| commit | 976b6ae335fc7563f35bc6e50d33779f4d69136e (patch) | |
| tree | 0ce1f72b77532562b5e3639092b4a02e0aca7aa4 /modules/line_handler.py | |
| parent | EventHook._call takes 3 args (diff) | |
| signature | ||
Better support for msgtags with PRIVMSGs; put functionality in to
modules/commands.py to reply to specific messages by use of msgids
Diffstat (limited to 'modules/line_handler.py')
| -rw-r--r-- | modules/line_handler.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/line_handler.py b/modules/line_handler.py index 9d8548a6..1f0fddee 100644 --- a/modules/line_handler.py +++ b/modules/line_handler.py @@ -414,11 +414,12 @@ class Module(ModuleManager.BaseModule): channel = event["server"].get_channel(event["args"][0]) self.events.on("received.message.channel").call( user=user, channel=channel, **kwargs) - channel.buffer.add_line(user.nickname, message, action) + channel.buffer.add_line(user.nickname, message, action, + event["tags"]) elif event["server"].is_own_nickname(target): self.events.on("received.message.private").call( user=user, **kwargs) - user.buffer.add_line(user.nickname, message, action) + user.buffer.add_line(user.nickname, message, action, event["tags"]) # we've received a notice @Utils.hook("raw.notice") |
