projects
/
ircu2.10.12-pk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Author: Kev <klmitch@mit.edu>
[ircu2.10.12-pk.git]
/
ircd
/
gline.c
diff --git
a/ircd/gline.c
b/ircd/gline.c
index faa65476fb2b00c188c5ab91aaa0edfb33c1a5de..565d7113af8e4dd467ca405bd1d7a3b3ad713042 100644
(file)
--- a/
ircd/gline.c
+++ b/
ircd/gline.c
@@
-168,7
+168,7
@@
do_gline(struct Client *cptr, struct Client *sptr, struct Gline *gline)
if (!cli_user(acptr))
continue;
if (!cli_user(acptr))
continue;
- if (
acptr->user
->username &&
+ if (
cli_user(acptr)
->username &&
match (gline->gl_user, (cli_user(acptr))->username) != 0)
continue;
match (gline->gl_user, (cli_user(acptr))->username) != 0)
continue;
@@
-178,7
+178,7
@@
do_gline(struct Client *cptr, struct Client *sptr, struct Gline *gline)
continue;
}
else {
continue;
}
else {
- if (match(gline->gl_host,
acptr->sockhost
) != 0)
+ if (match(gline->gl_host,
cli_sockhost(acptr)
) != 0)
continue;
}
continue;
}