]> jfr.im git - irc/quakenet/newserv.git/blobdiff - whowas/whowas.c
TROJANSCAN: make T join less often and part after a longer time
[irc/quakenet/newserv.git] / whowas / whowas.c
index c7e2450dde84b2a98ed710f20dff6634f46653d0..5764ecac0bd154b3a9e5da11d1a6741796f77f53 100644 (file)
@@ -238,6 +238,8 @@ unsigned int nextwhowasmarker() {
 }
 
 void _init(void) {
+  memset(whowasrecs, 0, sizeof(whowasrecs));
+
   registerhook(HOOK_NICK_QUIT, whowas_handlequitorkill);
   registerhook(HOOK_NICK_KILL, whowas_handlequitorkill);
   registerhook(HOOK_NICK_RENAME, whowas_handlerename);