]> jfr.im git - irc/quakenet/newserv.git/blobdiff - glines/glines_buf.c
Remove p_ipaddr and p_nodeaddr macros.
[irc/quakenet/newserv.git] / glines / glines_buf.c
index 0bbf09af987a984facea3385a17034dd6f2c4554..9ee2288f7bac39505dbea329462ec6916e768981 100644 (file)
@@ -90,7 +90,7 @@ void glinebufaddbynick(glinebuf *gbuf, nick *np, int flags, const char *creator,
     snprintf(mask, sizeof(mask), "%s!*@*", np->nick);
     glinebufadd(gbuf, mask, creator, reason, expire, lastmod, lifetime);
   } else {
-    glinebufaddbyip(gbuf, np->ident, &np->p_ipaddr, 128, flags, creator, reason, expire, lastmod, lifetime);
+    glinebufaddbyip(gbuf, np->ident, &np->ipaddress, 128, flags, creator, reason, expire, lastmod, lifetime);
   }
 }
 
@@ -102,7 +102,7 @@ void glinebufaddbywhowas(glinebuf *gbuf, whowas *ww, int flags, const char *crea
     snprintf(mask, sizeof(mask), "%s!*@*", np->nick);
     glinebufadd(gbuf, mask, creator, reason, expire, lastmod, lifetime);
   } else {
-    glinebufaddbyip(gbuf, np->ident, &np->p_ipaddr, 128, flags, creator, reason, expire, lastmod, lifetime);
+    glinebufaddbyip(gbuf, np->ident, &np->ipaddress, 128, flags, creator, reason, expire, lastmod, lifetime);
   }
 }