aboutsummaryrefslogtreecommitdiff
path: root/src/core_modules/line_handler
diff options
context:
space:
mode:
Diffstat (limited to 'src/core_modules/line_handler')
-rw-r--r--src/core_modules/line_handler/channel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core_modules/line_handler/channel.py b/src/core_modules/line_handler/channel.py
index a343392d..ce3ca90d 100644
--- a/src/core_modules/line_handler/channel.py
+++ b/src/core_modules/line_handler/channel.py
@@ -87,9 +87,9 @@ def join(events, event):
user.join_channel(channel)
if is_self:
+ channel.send_mode()
events.on("self.join").call(channel=channel, server=event["server"],
account=account, realname=realname)
- channel.send_mode()
else:
events.on("received.join").call(channel=channel, user=user,
server=event["server"], account=account, realname=realname)