Do not send two replies to KICK command.
[silc.git] / apps / silcd / command.c
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,