]> jfr.im git - irc/quakenet/newserv.git/blobdiff - proxyscan/proxyscanhandlers.c
TRUSTS: require sqlite
[irc/quakenet/newserv.git] / proxyscan / proxyscanhandlers.c
index 10cd6bf21a095054d6adaba7c8e1891318426aad..df5c6b6128370c33ab0789b8b3f5c468b39945c5 100644 (file)
@@ -15,7 +15,7 @@ void proxyscan_newnick(int hooknum, void *arg) {
   int i;
 
   /* Skip 127.* and 0.* hosts */
-  if (irc_in_addr_is_loopback(&np->p_ipaddr))
+  if (irc_in_addr_is_loopback(&np->ipaddress))
     return;
 
   /* slug: why is this here? why isn't it with the other queuing stuff? */
@@ -25,7 +25,7 @@ void proxyscan_newnick(int hooknum, void *arg) {
    */
   /* disabled as the list is hopelessly out of date */
   if ((esp=findextrascan(np->ipnode))) {
-    Error("proxyextra", ERR_ERROR, "connection from possible proxy %s", IPtostr(np->p_ipaddr)); 
+    Error("proxyextra", ERR_ERROR, "connection from possible proxy %s", IPtostr(np->ipaddress)); 
     for (espp=esp;espp;espp=espp->nextbynode) { 
       /* we force a scan on any hosts that may be an open proxy, even if they are:
        * a) already in the queue, b) we've been running < 120 seconds */