1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-01 23:36:37 +02:00

irc: do not open auto-joined channels buffers when option "-nojoin" is used in command /connect

Even if the option irc.look.buffer_open_before_autojoin is on.
This commit is contained in:
Sébastien Helleu
2015-06-15 20:41:49 +02:00
parent 9e0fa27525
commit 5bac79c4f1
2 changed files with 7 additions and 1 deletions
+3
View File
@@ -29,6 +29,9 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
weechat.look.buffer_time_format is set to empty string (closes #441)
* fifo: fix send error on Cygwin when something is received in the pipe
(closes #436)
* irc: do not open auto-joined channels buffers when option "-nojoin" is used
in command /connect (even if the option irc.look.buffer_open_before_autojoin
is on)
* irc: fix errors displayed on WHOX messages received (closes #376)
* lua: add detection of Lua 5.3
* ruby: add detection of Ruby 2.2
+4 -1
View File
@@ -4469,8 +4469,11 @@ irc_server_connect (struct t_irc_server *server)
irc_server_close_connection (server);
/* open auto-joined channels now (if needed) */
if (weechat_config_boolean (irc_config_look_buffer_open_before_autojoin))
if (weechat_config_boolean (irc_config_look_buffer_open_before_autojoin)
&& !server->disable_autojoin)
{
irc_server_autojoin_create_buffers (server);
}
/* init SSL if asked and connect */
server->ssl_connected = 0;