The SILC_OPER_STATS_UPDATE macro now also removes the mode
authorPekka Riikonen <priikone@silcnet.org>
Mon, 10 Jun 2002 20:55:52 +0000 (20:55 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Mon, 10 Jun 2002 20:55:52 +0000 (20:55 +0000)
from the entry.

apps/silcd/server_internal.h

index 56a4a52ae20e83a0207349c5fb29e06923d06807..7e773c863d3c37bd492023024b473875eda66096 100644 (file)
@@ -177,6 +177,7 @@ do {                                                \
       server->stat.my_ ## type ## _ops--;      \
     if (server->server_type == SILC_ROUTER)    \
       server->stat. type ## _ops--;            \
+    (c)->mode &= ~(mod);                       \
   }                                            \
 } while(0)