From 2af418fd8da7bce971f84b98be945f8d5a858f9d Mon Sep 17 00:00:00 2001 From: James Booth Date: Sat, 15 Mar 2014 22:25:15 +0000 Subject: Command '/statuses muc' now allows 'all', 'online' and 'none' settings --- src/ui/console.c | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'src/ui') diff --git a/src/ui/console.c b/src/ui/console.c index 1308003e..8a777204 100644 --- a/src/ui/console.c +++ b/src/ui/console.c @@ -992,16 +992,11 @@ _cons_statuses_setting(void) { char *console = prefs_get_string(PREF_STATUSES_CONSOLE); char *chat = prefs_get_string(PREF_STATUSES_CHAT); - gboolean muc = prefs_get_boolean(PREF_STATUSES_MUC); + char *muc = prefs_get_string(PREF_STATUSES_MUC); - cons_show("Console statuses (/statuses) : %s", console); - cons_show("Chat win statuses (/statuses) : %s", chat); - - if (muc) { - cons_show("MUC statuses (/statuses) : ON"); - } else { - cons_show("MUC statuses (/statuses) : OFF"); - } + cons_show("Console statuses (/statuses) : %s", console); + cons_show("Chat win statuses (/statuses) : %s", chat); + cons_show("Chat room statuses (/statuses) : %s", muc); } static void -- cgit 1.4.1-2-gfad0