X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=apps%2Fsilcd%2Fcommand_reply.c;h=688b85674bc93c79768348f2a1671dfdf651de9d;hb=2e7268cde1710b4901e6db52c0868bd597b88dbc;hp=a31588d6e71d529ba4f54e0b5ee12b81fa36b2a5;hpb=226f97eb5ab714b58bfb2cba0cb50d025884bb13;p=silc.git diff --git a/apps/silcd/command_reply.c b/apps/silcd/command_reply.c index a31588d6..688b8567 100644 --- a/apps/silcd/command_reply.c +++ b/apps/silcd/command_reply.c @@ -652,7 +652,8 @@ silc_server_command_reply_identify_save(SilcServerCommandReplyContext cmd) to global list since server didn't have it in the lists so it must be global. */ client = silc_idlist_add_client(server->global_list, - nick[0] ? nick : NULL, info, NULL, + nick[0] ? strdup(nick) : NULL, + info, NULL, silc_id_dup(&client_id, SILC_ID_CLIENT), silc_packet_get_context(cmd->sock), NULL);