]> jfr.im git - irc/quakenet/newserv.git/commitdiff
whowas: Remove unnecessary modulo.
authorGunnar Beutner <redacted>
Tue, 6 Aug 2013 14:47:38 +0000 (16:47 +0200)
committerGunnar Beutner <redacted>
Tue, 6 Aug 2013 14:47:38 +0000 (16:47 +0200)
--HG--
branch : shroudtrusts

whowas/whowas.c

index 3809eb77139979af84378fb9b0f3c182c0cb3415..b79fcb7deca0642036edb949a807bac8c656f25e 100644 (file)
@@ -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);
   }
 }