about summary refs log tree commit diff stats
path: root/src/ui
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-05-10 00:50:43 +0100
committerJames Booth <boothj5@gmail.com>2014-05-10 00:50:43 +0100
commitd2662a6f174402a045bf400a4659e7fc9155cc34 (patch)
tree17dd692669e514d47d71f0cb73ddebf5f922c47e /src/ui
parenta519d25e4bc7eeca1c53ba3200157ae69003f30a (diff)
downloadprofani-tty-d2662a6f174402a045bf400a4659e7fc9155cc34.tar.gz
Refactored bookmarks to use option parser, allow bookmarking rooms with passwords
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/console.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/console.c b/src/ui/console.c
index 2aff43a5..588f6001 100644
--- a/src/ui/console.c
+++ b/src/ui/console.c
@@ -663,6 +663,9 @@ _cons_show_bookmarks(const GList *list)
             if (item->autojoin) {
                 wprintw(console->win, " (autojoin)");
             }
+            if (item->password != NULL) {
+                wprintw(console->win, " (private)");
+            }
             wprintw(console->win, "\n");
             list = g_list_next(list);
         }