about summary refs log tree commit diff stats
path: root/src/ui/console.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/console.c')
-rw-r--r--src/ui/console.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/ui/console.c b/src/ui/console.c
index 49103fcf..1a716a7a 100644
--- a/src/ui/console.c
+++ b/src/ui/console.c
@@ -2012,6 +2012,16 @@ cons_color_setting(void)
 }
 
 void
+cons_os_setting(void)
+{
+    if (prefs_get_boolean(PREF_REVEAL_OS)) {
+        cons_show("Reveal OS name when asked for software version (XEP-0092) (/os)    : ON");
+    } else {
+        cons_show("Reveal OS name when asked for software version (XEP-0092) (/os)    : OFF");
+    }
+}
+
+void
 cons_show_connection_prefs(void)
 {
     cons_show("Connection preferences:");