1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-29 22:36:38 +02:00

irc: use key when /join-ing in open channel buffer

This commit is contained in:
Simmo Saan
2018-09-09 20:37:30 +03:00
committed by Sébastien Helleu
parent de3ee174e4
commit 6edc88f7d6
4 changed files with 9 additions and 8 deletions
+1 -2
View File
@@ -3040,8 +3040,7 @@ IRC_COMMAND_CALLBACK(join)
if (ptr_channel && (ptr_channel->type == IRC_CHANNEL_TYPE_CHANNEL)
&& !ptr_channel->nicks)
{
irc_command_join_server (ptr_server, ptr_channel->name,
1, noswitch);
irc_channel_rejoin (ptr_server, ptr_channel, 1, noswitch);
}
else
{