diff options
Diffstat (limited to 'src/ui/console.c')
-rw-r--r-- | src/ui/console.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/ui/console.c b/src/ui/console.c index 9fecf4e3..822da420 100644 --- a/src/ui/console.c +++ b/src/ui/console.c @@ -790,6 +790,9 @@ cons_show_account(ProfAccount *account) cons_show ("enabled : FALSE"); } cons_show ("jid : %s", account->jid); + if (account->password != NULL) { + cons_show ("password : [redacted]"); + } if (account->resource != NULL) { cons_show ("resource : %s", account->resource); } @@ -937,6 +940,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)) @@ -1212,6 +1224,7 @@ cons_show_connection_prefs(void) cons_show(""); cons_reconnect_setting(); cons_autoping_setting(); + cons_autoconnect_setting(); wins_refresh_console(); cons_alert(); |