]> jfr.im git - irc/quakenet/newserv.git/blobdiff - proxyscan/proxyscancache.c
TRUSTS: require sqlite
[irc/quakenet/newserv.git] / proxyscan / proxyscancache.c
index f14fbd2b5090e4d97145c5491a8dedf7ae50b46f..8f4b11b8fa4dd06b7bca4e3898e864dc23d56a16 100644 (file)
@@ -168,6 +168,8 @@ void loadcachehosts() {
       }
     }
   }
+
+  fclose(fp);
  
   Error("proxyscan",ERR_INFO, "Loaded %d entries from cache", i); 
 }
@@ -238,9 +240,6 @@ void scanall(int type, int port) {
 
       np->host->marker=hostmarker;
 
-      if (!irc_in_addr_is_ipv4(&np->p_ipaddr))
-        continue;
-
       if ((chp=findcachehost(np->ipnode)))
        chp->marker=1;