include: hostmask: use GET_SS_FAMILY()

This commit is contained in:
William Pitcock 2016-03-20 01:55:31 -05:00
parent e867208deb
commit 4e376fff55

View file

@ -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