diff options
author | James Booth <boothj5@gmail.com> | 2014-03-08 00:23:52 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-03-08 00:23:52 +0000 |
commit | a94814f0a933af524c7aee0277667e0c41ba7d5c (patch) | |
tree | 4b33f85afeab4a5e21d49a18c475d319c1858fa7 /src | |
parent | 2d54c565ce1fbcca5f14436e503ccced1495f2b5 (diff) | |
download | profani-tty-a94814f0a933af524c7aee0277667e0c41ba7d5c.tar.gz |
Added invalid jid test for /join
Diffstat (limited to 'src')
-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 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; } |