irc: do not clear nicklist when joining an already joined channel if the option irc.look.buffer_open_before_join is on (closes #1081, closes #1082)

v2.8-utf8proc
Sébastien Helleu 2017-10-13 07:44:52 +02:00
parent 54f0d6b340
commit d427fc0549
2 changed files with 3 additions and 1 deletions

View File

@ -44,6 +44,7 @@ Bug fixes::
* buflist: remove recursive evaluation of extra variables (issue #1060)
* guile: return integer (0/1) instead of boolean in API functions
* guile: fix return value of static strings in API functions
* irc: do not clear nicklist when joining an already joined channel if the option irc.look.buffer_open_before_join is on (issue #1081)
* irc: fix CTCP PING reply when the option irc.ctcp.ping is set to non-empty value
* lua: fix boolean return value (as integer) in API functions
* relay: fix parsing of CAP command without arguments in irc protocol, send ACK only if all capabilities received are OK and NAK otherwise (issue #1040)

View File

@ -2544,7 +2544,8 @@ irc_command_join_server (struct t_irc_server *server, const char *arguments,
}
}
if (manual_join
&& weechat_config_boolean (irc_config_look_buffer_open_before_join))
&& weechat_config_boolean (irc_config_look_buffer_open_before_join)
&& !irc_channel_search (server, pos_channel))
{
/*
* open the channel buffer immediately (do not wait for the