if (!cli_user(acptr))
continue;
- if (acptr->user->username &&
+ if (cli_user(acptr)->username &&
match (gline->gl_user, (cli_user(acptr))->username) != 0)
continue;
continue;
}
else {
- if (match(gline->gl_host, acptr->sockhost) != 0)
+ if (match(gline->gl_host, cli_sockhost(acptr)) != 0)
continue;
}