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

Do not connect to server after creating it with /server add (even if autoconnect is on)

This commit is contained in:
Sebastien Helleu
2010-08-04 21:23:58 +02:00
parent 4b44b2c9f5
commit ff5c707b64
+3
View File
@@ -3348,8 +3348,11 @@ irc_command_server (void *data, struct t_gui_buffer *buffer, int argc,
new_server->name,
IRC_COLOR_CHAT);
/* do not connect to server after creating it */
/*
if (IRC_SERVER_OPTION_BOOLEAN(new_server, IRC_SERVER_OPTION_AUTOCONNECT))
irc_server_connect (new_server);
*/
return WEECHAT_RC_OK;
}