Author: Ghostwolf <foxxe@wtfs.net>
[ircu2.10.12-pk.git] / ircd / gline.c
index 403a1d42fbdf8bad349b2306b1f549355bf7e3fb..3e9970628917a548469765cb2eb05c9bbd142dd7 100644 (file)
@@ -609,7 +609,7 @@ gline_lookup(struct Client *cptr, unsigned int flags)
         continue;
     }
     else {
-      if (match(gline->gl_host, (cli_user(cptr))->host) != 0) 
+      if (match(gline->gl_host, (cli_user(cptr))->realhost) != 0) 
         continue;
     }
     return gline;