X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=apps%2Fsilcd%2Fcommand_reply.c;h=63b528fc707597b74692178965e269ab0149ff60;hb=6b6b1b00eeea0a5a9faac129cba3f3a4e46fec16;hp=a904d3a579ea5abe6085aed211ef9794735b2ab9;hpb=d4b044342895424f18e1d94de809fe256696cacb;p=silc.git diff --git a/apps/silcd/command_reply.c b/apps/silcd/command_reply.c index a904d3a5..63b528fc 100644 --- a/apps/silcd/command_reply.c +++ b/apps/silcd/command_reply.c @@ -601,7 +601,7 @@ silc_server_command_reply_identify_save(SilcServerCommandReplyContext cmd) if (server->server_type != SILC_SERVER) goto error; - /* We don't have that server anywhere, add it. */ + /* We don't have that channel anywhere, add it. */ channel = silc_idlist_add_channel(server->global_list, strdup(name), SILC_CHANNEL_MODE_NONE, channel_id, server->router, NULL, NULL, 0); @@ -1061,7 +1061,7 @@ SILC_SERVER_CMD_REPLY_FUNC(users) goto out; idp = silc_id_payload_encode(channel_id, SILC_ID_CHANNEL); - silc_server_send_command(server, server->router->connection, + silc_server_send_command(server, SILC_PRIMARY_ROUTE(server), SILC_COMMAND_IDENTIFY, ++server->cmd_ident, 1, 5, idp->data, idp->len); silc_buffer_free(idp);