From: Pekka Riikonen Date: Thu, 30 Oct 2003 15:01:41 +0000 (+0000) Subject: Do not send two replies to KICK command. X-Git-Tag: silc.client.0.9.15~11 X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=commitdiff_plain;h=9e3c2a7dd7bb1f25114eee72e82265099dd88be6 Do not send two replies to KICK command. --- diff --git a/CHANGES b/CHANGES index f61e623f..7fc23a57 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,8 @@ +Thu Oct 30 17:01:01 EET 2003 Pekka Riikonen + + * Fixed KICK command reply sending, it sent to replies. + Affected file silcd/command.c. + Wed Oct 30 14:06:52 CET 2003 Jochen Eisinger * Finish the silc-mime.pl script. It now supports MIME type diff --git a/apps/silcd/command.c b/apps/silcd/command.c index 0577ade9..534c1f8a 100644 --- a/apps/silcd/command.c +++ b/apps/silcd/command.c @@ -3724,10 +3724,6 @@ SILC_SERVER_CMD_FUNC(kick) packet->data, packet->len, FALSE); silc_buffer_free(packet); - /* Send command reply to sender */ - silc_server_command_send_status_reply(cmd, SILC_COMMAND_KICK, - SILC_STATUS_OK, 0); - /* Send KICKED notify to local clients on the channel */ idp = silc_id_payload_encode(client->id, SILC_ID_CLIENT); silc_server_send_notify_to_channel(server, NULL, channel, FALSE, TRUE,