]> jfr.im git - irc/quakenet/newserv.git/commitdiff
changed np->ipaddress to np->p_ipaddr in accordance with pauls new iptree stuff
authorIan Barker <redacted>
Wed, 30 May 2007 19:50:46 +0000 (20:50 +0100)
committerIan Barker <redacted>
Wed, 30 May 2007 19:50:46 +0000 (20:50 +0100)
newsearch/ns-gline.c
newsearch/ns-kill.c

index 4e22423dd4291acb0763d0de86c9ef11f4bdb118..ff7479b1d96b614ad46cad6f6a8e8ca563f68466 100644 (file)
@@ -101,10 +101,10 @@ void gline_free(struct searchNode *thenode) {
         if (!IsOper(np) && !IsService(np) && !IsXOper(np)) {
           if (np->host->clonecount <= NSMAX_GLINE_CLONES)
             irc_send("%s GL * +*@%s %u :You (%s!%s@%s) have been glined for violating our terms of service.", 
-              mynumeric->content, IPtostr(np->ipaddress), localdata->duration, np->nick, np->ident, IPtostr(np->ipaddress));
+              mynumeric->content, IPtostr(np->p_ipaddr), localdata->duration, np->nick, np->ident, IPtostr(np->p_ipaddr));
           else
             irc_send("%s GL * +%s@%s %u :You (%s!%s@%s) have been glined for violating our terms of service.", 
-              mynumeric->content, np->ident, IPtostr(np->ipaddress), localdata->duration, np->nick, np->ident, IPtostr(np->ipaddress));
+              mynumeric->content, np->ident, IPtostr(np->p_ipaddr), localdata->duration, np->nick, np->ident, IPtostr(np->p_ipaddr));
         }
         else
             safe++;
index 7ce4dbf211c4778b440a17978b94d7684d0956b1..d78afad9676a354257dd77babd48c51fca8398fc 100644 (file)
@@ -89,7 +89,7 @@ void kill_free(struct searchNode *thenode) {
       if (np->marker == localdata->marker) {
         if (!IsOper(np) && !IsService(np) && !IsXOper(np)) {
           killuser(NULL, np, "You (%s!%s@%s) have been disconnected for violating our terms of service.", np->nick,
-            np->ident, IPtostr(np->ipaddress));
+            np->ident, IPtostr(np->p_ipaddr));
         }
         else
             safe++;