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:
+2
-1
@@ -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 ();
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user