From d1d8cf9a2afe2448c94622af74bb7a6032a48976 Mon Sep 17 00:00:00 2001 From: Pekka Riikonen Date: Thu, 2 May 2002 11:23:47 +0000 Subject: [PATCH] updates. --- apps/silcd/command.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/silcd/command.c b/apps/silcd/command.c index 6bf0f49f..7b2323b1 100644 --- a/apps/silcd/command.c +++ b/apps/silcd/command.c @@ -232,8 +232,10 @@ void silc_server_command_process(SilcServer server, client->fast_command++; fast = FALSE; } else { - client->fast_command = ((client->fast_command - 1) <= 0 ? 0 : - client->fast_command--); + if (client->fast_command - 2 <= 0) + client->fast_command = 0; + else + client->fast_command -= 2; fast = TRUE; } -- 2.24.0