about summary refs log tree commit diff stats
path: root/src/command
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-02-01 23:48:24 +0000
committerJames Booth <boothj5@gmail.com>2014-02-01 23:48:24 +0000
commitaf51fa3c680b8299b243821a97e4c38af036ae6b (patch)
treef081ab48426b60c17a39b20eed44669635128de9 /src/command
parent7d4b6d6f4f770716b092735e68624065da4ec60f (diff)
downloadprofani-tty-af51fa3c680b8299b243821a97e4c38af036ae6b.tar.gz
Added cmd_bookmark tests
Diffstat (limited to 'src/command')
-rw-r--r--src/command/commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command/commands.c b/src/command/commands.c
index 3338fd6e..7954fe78 100644
--- a/src/command/commands.c
+++ b/src/command/commands.c
@@ -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 {