]> jfr.im git - solanum.git/blobdiff - include/hostmask.h
chmode: Move add_id() to a boolean
[solanum.git] / include / hostmask.h
index b05df58ff403d61c76337a4b030cd00c3fd2ab09..8e97cf74bfbc7aa10c83e1fc86bece16131ab382 100644 (file)
@@ -21,8 +21,6 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
  *  USA
- *
- *  $Id: hostmask.h 2757 2006-11-10 22:58:15Z jilles $
  */
 
 #ifndef INCLUDE_hostmask_h
@@ -56,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