Permalink
Browse files

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)
  • Loading branch information...
flashcode committed Oct 13, 2017
1 parent 54f0d6b commit d427fc05491af5c34d14cdf4ce632a55dc99d3f4
Showing with 3 additions and 1 deletion.
  1. +1 −0 ChangeLog.adoc
  2. +2 −1 src/plugins/irc/irc-command.c
View
@@ -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)
@@ -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

0 comments on commit d427fc0

Please sign in to comment.