diff options
author | James Booth <boothj5@gmail.com> | 2014-03-15 22:25:15 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-03-15 22:25:15 +0000 |
commit | 2af418fd8da7bce971f84b98be945f8d5a858f9d (patch) | |
tree | c03440bd0dd9a31c694a10dbe2585584c3907ab2 /src/ui | |
parent | 26726b207a344a79633f0420ff8be9c83aca3934 (diff) | |
download | profani-tty-2af418fd8da7bce971f84b98be945f8d5a858f9d.tar.gz |
Command '/statuses muc' now allows 'all', 'online' and 'none' settings
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/console.c | 13 |
1 files changed, 4 insertions, 9 deletions
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 |