diff options
author | James Booth <boothj5@gmail.com> | 2014-06-02 18:44:06 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-06-02 18:44:06 +0100 |
commit | 17c73814ac2e878bea013dd24e014a9f3278dbec (patch) | |
tree | cbdab674cf51b8acc27fd4f13467ed863006675d /src | |
parent | 21af901fe4da8dad542368798ac7843cde265b65 (diff) | |
download | profani-tty-17c73814ac2e878bea013dd24e014a9f3278dbec.tar.gz |
Made room message notification preference display case consistent
Diffstat (limited to 'src')
-rw-r--r-- | src/ui/console.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ui/console.c b/src/ui/console.c index e5a070f5..59cfdc5a 100644 --- a/src/ui/console.c +++ b/src/ui/console.c @@ -1174,7 +1174,13 @@ _cons_notify_setting(void) cons_show("Messages text (/notify message) : OFF"); char *room_setting = prefs_get_string(PREF_NOTIFY_ROOM); + if (g_strcmp0(room_setting, "on") == 0) { + cons_show ("Room messages (/notify room) : ON"); + } else if (g_strcmp0(room_setting, "off") == 0) { + cons_show ("Room messages (/notify room) : OFF"); + } else { cons_show ("Room messages (/notify room) : %s", room_setting); + } if (prefs_get_boolean(PREF_NOTIFY_ROOM_CURRENT)) cons_show("Room current (/notify room) : ON"); |