1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-08 02:33:12 +02:00

api: add info "auto_connect" (closes #1453)

This commit is contained in:
Sébastien Helleu
2020-03-20 20:42:05 +01:00
parent c05cb595dc
commit c29b45a0f2
26 changed files with 187 additions and 31 deletions
+2 -1
View File
@@ -114,6 +114,7 @@ int weechat_no_gcrypt = 0; /* remove init/deinit of gcrypt */
/* (useful with valgrind) */
struct t_weelist *weechat_startup_commands = NULL; /* startup commands */
/* (option -r) */
int weechat_auto_connect = 1; /* auto-connect to servers */
/*
@@ -256,7 +257,7 @@ weechat_parse_args (int argc, char *argv[])
switch (opt)
{
case 'a': /* -a / --no-connect */
/* option ignored, it will be used by the irc plugin */
/* option ignored, it will be used by plugins/scripts */
break;
case 'c': /* -c / --colors */
gui_color_display_terminal_colors ();
+1
View File
@@ -116,6 +116,7 @@ extern int weechat_plugin_no_dlclose;
extern int weechat_no_gnutls;
extern int weechat_no_gcrypt;
extern struct t_weelist *weechat_startup_commands;
extern int weechat_auto_connect;
extern void weechat_term_check ();
extern void weechat_shutdown (int return_code, int crash);