Added invalid jid test for /join

This commit is contained in:
James Booth
2014-03-08 00:23:52 +00:00
parent 2d54c565ce
commit a94814f0a9
4 changed files with 21 additions and 1 deletions

View File

@@ -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;
}