channel.send_mode() BEFORE calling self.join event
This commit is contained in:
parent
cf544d66f9
commit
a9a9cd816b
1 changed files with 1 additions and 1 deletions
|
@ -87,9 +87,9 @@ def join(events, event):
|
||||||
user.join_channel(channel)
|
user.join_channel(channel)
|
||||||
|
|
||||||
if is_self:
|
if is_self:
|
||||||
|
channel.send_mode()
|
||||||
events.on("self.join").call(channel=channel, server=event["server"],
|
events.on("self.join").call(channel=channel, server=event["server"],
|
||||||
account=account, realname=realname)
|
account=account, realname=realname)
|
||||||
channel.send_mode()
|
|
||||||
else:
|
else:
|
||||||
events.on("received.join").call(channel=channel, user=user,
|
events.on("received.join").call(channel=channel, user=user,
|
||||||
server=event["server"], account=account, realname=realname)
|
server=event["server"], account=account, realname=realname)
|
||||||
|
|
Loading…
Reference in a new issue