From: Pekka Riikonen Date: Mon, 10 Jun 2002 20:55:52 +0000 (+0000) Subject: The SILC_OPER_STATS_UPDATE macro now also removes the mode X-Git-Tag: silc.toolkit.0.9.2~11 X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=commitdiff_plain;h=c99dcbf8ac84ce40d36016ab0accaf398ef1c902 The SILC_OPER_STATS_UPDATE macro now also removes the mode from the entry. --- diff --git a/apps/silcd/server_internal.h b/apps/silcd/server_internal.h index 56a4a52a..7e773c86 100644 --- a/apps/silcd/server_internal.h +++ b/apps/silcd/server_internal.h @@ -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)