include: hostmask: use GET_SS_FAMILY()
This commit is contained in:
parent
e867208deb
commit
4e376fff55
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ struct ConfItem *find_dline(struct sockaddr *, int);
|
||||||
#define find_kline(x) (find_conf_by_address((x)->host, (x)->sockhost, \
|
#define find_kline(x) (find_conf_by_address((x)->host, (x)->sockhost, \
|
||||||
(x)->orighost, \
|
(x)->orighost, \
|
||||||
(struct sockaddr *)&(x)->localClient->ip, CONF_KILL,\
|
(struct sockaddr *)&(x)->localClient->ip, CONF_KILL,\
|
||||||
(x)->localClient->ip.ss_family, (x)->username, NULL))
|
GET_SS_FAMILY(&(x)->localClient->ip), (x)->username, NULL))
|
||||||
|
|
||||||
void report_auth(struct Client *);
|
void report_auth(struct Client *);
|
||||||
#ifdef RB_IPV6
|
#ifdef RB_IPV6
|
||||||
|
|
Loading…
Reference in a new issue