summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-server.h
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2011-11-03 13:11:10 +0100
committerSebastien Helleu <flashcode@flashtux.org>2011-11-03 13:11:10 +0100
commite62cf7c57d443682ce3308e4bb58238b98414fac (patch)
tree544080073099bdac21e29819274bca8bcb76b258 /src/plugins/irc/irc-server.h
parentc87558d3dbe979fd2924a1d2d35efaf7d344044e (diff)
downloadweechat-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-server.h')
-rw-r--r--src/plugins/irc/irc-server.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-server.h b/src/plugins/irc/irc-server.h
index 14c58802d..86f5254bf 100644
--- a/src/plugins/irc/irc-server.h
+++ b/src/plugins/irc/irc-server.h
@@ -250,7 +250,7 @@ extern struct t_irc_server *irc_server_search (const char *server_name);
extern void irc_server_set_buffer_title (struct t_irc_server *server);
extern struct t_gui_buffer *irc_server_create_buffer (struct t_irc_server *server);
extern int irc_server_connect (struct t_irc_server *server);
-extern void irc_server_auto_connect ();
+extern void irc_server_auto_connect (int auto_connect);
extern void irc_server_autojoin_channels ();
extern int irc_server_recv_cb (void *data, int fd);
extern int irc_server_timer_sasl_cb (void *data, int remaining_calls);