about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-02-02 00:37:37 +0000
committerJames Booth <boothj5@gmail.com>2014-02-02 00:37:37 +0000
commita8ecbccc9c29a4d9b0ba21fa0a7b6e804f226626 (patch)
treef373ffe559cbf231f9721023cd70cc7cd80e553e /src
parent38d8d8d98410bd6d39d8f90cb94d7e88f3d06727 (diff)
downloadprofani-tty-a8ecbccc9c29a4d9b0ba21fa0a7b6e804f226626.tar.gz
Added /bookmark remove tests
Diffstat (limited to 'src')
-rw-r--r--src/command/commands.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/command/commands.c b/src/command/commands.c
index 3bc628d1..f28bea4c 100644
--- a/src/command/commands.c
+++ b/src/command/commands.c
@@ -1778,6 +1778,11 @@ cmd_bookmark(gchar **args, struct cmd_help_t help)
             g_string_free(msg, TRUE);
         } else if (strcmp(cmd, "remove") == 0) {
             bookmark_remove(jid, autojoin);
+            if (autojoin) {
+                cons_show("Autojoin disabled for %s.", jid);
+            } else {
+                cons_show("Bookmark removed for %s.", jid);
+            }
         } else {
             cons_show("Usage: %s", help.usage);
         }