aboutsummaryrefslogtreecommitdiff
path: root/modules/line_handler
diff options
context:
space:
mode:
authorGravatar jesopo2019-09-16 18:38:46 +0100
committerGravatar jesopo2019-09-16 18:38:46 +0100
commit03892d0ae322530c3af87ed6f0cc6487a9bf3b7c (patch)
treeb6d0d05e525b793e8b4c4a9095e66aad7c45d05c /modules/line_handler
parentadd !channels (diff)
signature
topic_setter should be stored as a Hostmask
Diffstat (limited to 'modules/line_handler')
-rw-r--r--modules/line_handler/channel.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/line_handler/channel.py b/modules/line_handler/channel.py
index 2521beed..1c571ce4 100644
--- a/modules/line_handler/channel.py
+++ b/modules/line_handler/channel.py
@@ -21,8 +21,7 @@ def handle_333(events, event):
topic_setter = utils.irc.seperate_hostmask(event["line"].args[2])
topic_time = int(event["line"].args[3])
- channel.set_topic_setter(topic_setter.nickname, topic_setter.username,
- topic_setter.hostname)
+ channel.set_topic_setter(topic_setter)
channel.set_topic_time(topic_time)
events.on("received.333").call(channel=channel,
setter=topic_setter.nickname, set_at=topic_time, server=event["server"])