Do not send send_remove_id if standalone server.
[silc.git] / apps / silcd / command.c
index 656cf67ce97084a0279780e0d9824b64df9f3a93..db82e83dd81c36c45b8fb229a70e06e51c87e190 100644 (file)
@@ -1914,6 +1914,8 @@ SILC_SERVER_CMD_FUNC(join)
     goto out;
   }
   client_id = silc_id_payload_parse_id(tmp, tmp_len);
+  if (!client_id)
+    goto out;
 
   /* Get cipher name */
   cipher = silc_argument_get_arg_type(cmd->args, 4, NULL);