]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - include/hostmask.h
Get rid of ", " at the start of some oper privs strings.
[irc/rqf/shadowircd.git] / include / hostmask.h
index f73c32bad23ed90bf1dda1071ec25fb378f9d654..ee49dda4196b5aae53b3b6488b1dcf5ffb69e6ef 100644 (file)
@@ -31,7 +31,7 @@ enum
 {
        HM_HOST,
        HM_IPV4
-#ifdef IPV6
+#ifdef RB_IPV6
                , HM_IPV6
 #endif
 };
@@ -51,18 +51,16 @@ struct ConfItem *find_address_conf(const char *host, const char *sockhost,
                                const char *, const char *, struct sockaddr *,
                                int);
 
+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))
-#define find_gline(x)  (find_conf_by_address((x)->host, (x)->sockhost, \
-                        (x)->orighost, \
-                        (struct sockaddr *)&(x)->localClient->ip, CONF_GLINE,\
-                        (x)->localClient->ip.ss_family, (x)->username))
 
 void report_Klines(struct Client *);
 void report_auth(struct Client *);
-#ifdef IPV6
+#ifdef RB_IPV6
 int match_ipv6(struct sockaddr *, struct sockaddr *, int);
 #endif
 int match_ipv4(struct sockaddr *, struct sockaddr *, int);