diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2010-08-04 21:23:58 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2010-08-04 21:23:58 +0200 |
commit | ff5c707b64df995e1db4131c732a7a5f83f28d74 (patch) | |
tree | 8ddf075a6e9f0694e1604e5b12236ce7223450ca /src | |
parent | 4b44b2c9f5c1bfa2507e6b57b3557d461ae14841 (diff) | |
download | weechat-ff5c707b64df995e1db4131c732a7a5f83f28d74.zip |
Do not connect to server after creating it with /server add (even if autoconnect is on)
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/irc/irc-command.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/irc/irc-command.c b/src/plugins/irc/irc-command.c index d2550faa0..3d6c786b0 100644 --- a/src/plugins/irc/irc-command.c +++ b/src/plugins/irc/irc-command.c @@ -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; } |