]> jfr.im git - irc/quakenet/newserv.git/blobdiff - glines/glines.c
Add documentation files.
[irc/quakenet/newserv.git] / glines / glines.c
index 63d51b209973d1428d579c6d879c1e29a0e3bc95..a07a01650c2950af69107ed150b1e2acb83294e6 100644 (file)
@@ -45,7 +45,7 @@ int gline_match_nick(gline *gl, nick *np) {
     return 0;
 
   if (gl->flags & GLINE_IPMASK) {
-    if (!ipmask_check(&gl->ip, &np->p_ipaddr, gl->bits))
+    if (!ipmask_check(&gl->ip, &np->ipaddress, gl->bits))
       return 0;
   } else {
     if (gl->host && match(gl->host->content, np->host->name->content) != 0)