Do not send two replies to KICK command.
authorPekka Riikonen <priikone@silcnet.org>
Thu, 30 Oct 2003 15:01:41 +0000 (15:01 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Thu, 30 Oct 2003 15:01:41 +0000 (15:01 +0000)
CHANGES
apps/silcd/command.c

diff --git a/CHANGES b/CHANGES
index f61e623fc5e6d4dc1cb9b9124c61a3e93dcc0901..7fc23a573334e46aa2101fa9461e4f1d75ef38ba 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,8 @@
+Thu Oct 30 17:01:01 EET 2003 Pekka Riikonen <priikone@silcnet.org>
+
+       * Fixed KICK command reply sending, it sent to replies.
+         Affected file silcd/command.c.
+
 Wed Oct 30 14:06:52 CET 2003 Jochen Eisinger <jochen@penguin-breeder.org>
 
        * Finish the silc-mime.pl script. It now supports MIME type
index 0577ade9efb51fab518265a2b71efde94723fdad..534c1f8a35b1921c8ee8daf8236f25ae236214ef 100644 (file)
@@ -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,