mirror of
https://github.com/matrix-construct/construct
synced 2024-11-15 22:41:12 +01:00
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, \
|
||||
(x)->orighost, \
|
||||
(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 *);
|
||||
#ifdef RB_IPV6
|
||||
|
|
Loading…
Reference in a new issue