diff options
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/console.c | 10 | ||||
-rw-r--r-- | src/ui/ui.h | 1 |
2 files changed, 11 insertions, 0 deletions
diff --git a/src/ui/console.c b/src/ui/console.c index 1de7cf51..bbf0cef6 100644 --- a/src/ui/console.c +++ b/src/ui/console.c @@ -943,6 +943,15 @@ cons_splash_setting(void) } void +cons_autoconnect_setting(void) +{ + if (prefs_get_string(PREF_CONNECT_ACCOUNT) != NULL) + cons_show("Autoconnect (/autoconnect) : %s", prefs_get_string(PREF_CONNECT_ACCOUNT)); + else + cons_show("Autoconnect (/autoconnect) : OFF"); +} + +void cons_vercheck_setting(void) { if (prefs_get_boolean(PREF_VERCHECK)) @@ -1218,6 +1227,7 @@ cons_show_connection_prefs(void) cons_show(""); cons_reconnect_setting(); cons_autoping_setting(); + cons_autoconnect_setting(); wins_refresh_console(); cons_alert(); diff --git a/src/ui/ui.h b/src/ui/ui.h index 7fff0703..1fa932b7 100644 --- a/src/ui/ui.h +++ b/src/ui/ui.h @@ -216,6 +216,7 @@ void cons_autoaway_setting(void); void cons_reconnect_setting(void); void cons_autoping_setting(void); void cons_priority_setting(void); +void cons_autoconnect_setting(void); // status bar actions void status_bar_refresh(void); |