updates.
authorPekka Riikonen <priikone@silcnet.org>
Thu, 2 May 2002 11:23:47 +0000 (11:23 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Thu, 2 May 2002 11:23:47 +0000 (11:23 +0000)
apps/silcd/command.c

index 6bf0f49fa82e67b4b5f0ee27d9b4519ab13bf51f..7b2323b1e661f54ead46bb9714be7167c1d4bdab 100644 (file)
@@ -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;
     }