diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2011-11-03 13:11:10 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2011-11-03 13:11:10 +0100 |
commit | e62cf7c57d443682ce3308e4bb58238b98414fac (patch) | |
tree | 544080073099bdac21e29819274bca8bcb76b258 /src/plugins/irc/irc.c | |
parent | c87558d3dbe979fd2924a1d2d35efaf7d344044e (diff) | |
download | weechat-e62cf7c57d443682ce3308e4bb58238b98414fac.zip |
irc: auto-connect to servers created with "irc://" on command line but not other servers if "-a" ("--no-connect") is given
Diffstat (limited to 'src/plugins/irc/irc.c')
-rw-r--r-- | src/plugins/irc/irc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/irc/irc.c b/src/plugins/irc/irc.c index 0703273a8..3ebaacd1b 100644 --- a/src/plugins/irc/irc.c +++ b/src/plugins/irc/irc.c @@ -233,8 +233,7 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[]) } else { - if (auto_connect) - irc_server_auto_connect (); + irc_server_auto_connect (auto_connect); } irc_hook_timer = weechat_hook_timer (1 * 1000, 0, 0, |