diff options
author | James Booth <boothj5@gmail.com> | 2014-02-01 21:18:15 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-02-01 21:18:15 +0000 |
commit | 3d7d070b138a29e51dbaff72ebe1223d9f3d59cb (patch) | |
tree | 0648648120eaf6a94daec81c27c987ba55743207 /src/command/commands.c | |
parent | 1654f1365657bb1ed1c3151211fd13a3c8dc405b (diff) | |
download | profani-tty-3d7d070b138a29e51dbaff72ebe1223d9f3d59cb.tar.gz |
Added test for /bookmark list
Diffstat (limited to 'src/command/commands.c')
-rw-r--r-- | src/command/commands.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/command/commands.c b/src/command/commands.c index 85adebde..3338fd6e 100644 --- a/src/command/commands.c +++ b/src/command/commands.c @@ -1726,7 +1726,8 @@ cmd_bookmark(gchar **args, struct cmd_help_t help) /* TODO: /bookmark list room@server */ if (cmd == NULL || strcmp(cmd, "list") == 0) { - cons_show_bookmarks(bookmark_get_list()); + const GList *bookmarks = bookmark_get_list(); + cons_show_bookmarks(bookmarks); } else { gboolean autojoin = FALSE; gchar *jid = NULL; |