From: Gunnar Beutner Date: Tue, 6 Aug 2013 14:47:38 +0000 (+0200) Subject: whowas: Remove unnecessary modulo. X-Git-Url: https://jfr.im/git/irc/quakenet/newserv.git/commitdiff_plain/96fa425f0f73a713616ce2d935f7415f18dcd31e whowas: Remove unnecessary modulo. --HG-- branch : shroudtrusts --- diff --git a/whowas/whowas.c b/whowas/whowas.c index 3809eb77..b79fcb7d 100644 --- a/whowas/whowas.c +++ b/whowas/whowas.c @@ -219,7 +219,7 @@ void _fini(void) { deregisterhook(HOOK_NICK_RENAME, whowas_handlerename); for (i = 0; i < WW_MAXENTRIES; i++) { - ww = &whowasrecs[i % WW_MAXENTRIES]; + ww = &whowasrecs[i]; whowas_clean(ww); } }