aboutsummaryrefslogtreecommitdiff
path: root/modules/line_handler.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/line_handler.py')
-rw-r--r--modules/line_handler.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/line_handler.py b/modules/line_handler.py
index 68a717ee..0885e002 100644
--- a/modules/line_handler.py
+++ b/modules/line_handler.py
@@ -400,12 +400,13 @@ 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_message(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, event["tags"])
+ user.buffer.add_message(user.nickname, message, action,
+ event["tags"])
# we've received a notice
@Utils.hook("raw.notice")