about summary refs log tree commit diff stats
path: root/src/command/commands.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-03-08 00:23:52 +0000
committerJames Booth <boothj5@gmail.com>2014-03-08 00:23:52 +0000
commita94814f0a933af524c7aee0277667e0c41ba7d5c (patch)
tree4b33f85afeab4a5e21d49a18c475d319c1858fa7 /src/command/commands.c
parent2d54c565ce1fbcca5f14436e503ccced1495f2b5 (diff)
downloadprofani-tty-a94814f0a933af524c7aee0277667e0c41ba7d5c.tar.gz
Added invalid jid test for /join
Diffstat (limited to 'src/command/commands.c')
-rw-r--r--src/command/commands.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/command/commands.c b/src/command/commands.c
index 6eae7d09..9bfae727 100644
--- a/src/command/commands.c
+++ b/src/command/commands.c
@@ -1591,7 +1591,8 @@ cmd_join(gchar **args, struct cmd_help_t help)
 
     Jid *room_arg = jid_create(args[0]);
     if (room_arg == NULL) {
-        cons_show_error("Specified room has incorrect format");
+        cons_show_error("Specified room has incorrect format.");
+        cons_show("");
         return TRUE;
     }