Added cmd_bookmark tests

This commit is contained in:
James Booth
2014-02-01 23:48:24 +00:00
parent 7d4b6d6f4f
commit af51fa3c68
8 changed files with 222 additions and 1 deletions

View File

@@ -1725,7 +1725,7 @@ cmd_bookmark(gchar **args, struct cmd_help_t help)
/* TODO: /bookmark list room@server */
if (cmd == NULL || strcmp(cmd, "list") == 0) {
if (strcmp(cmd, "list") == 0) {
const GList *bookmarks = bookmark_get_list();
cons_show_bookmarks(bookmarks);
} else {