]> jfr.im git - solanum.git/blobdiff - include/blacklist.h
chmode: Move add_id() to a boolean
[solanum.git] / include / blacklist.h
index 79eec92d9088d4605b963a6cf57fa9aa16a189e9..7c8fc23ee517d2eb8f546fe6a10b75e91c9498c3 100644 (file)
@@ -18,7 +18,6 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
  *  USA
- *
  */
 
 #ifndef _BLACKLIST_H_
@@ -37,7 +36,7 @@ struct Blacklist {
        int ipv6;       /* Does this blacklist support IPv6 lookups? */
        char host[IRCD_RES_HOSTLEN + 1];
        rb_dlink_list filters;  /* Filters for queries */
-       char reject_reason[IRCD_BUFSIZE];
+       char reject_reason[BUFSIZE];
        unsigned int hits;
        time_t lastwarning;
 };
@@ -46,7 +45,7 @@ struct Blacklist {
 struct BlacklistClient {
        struct Blacklist *blacklist;
        struct Client *client_p;
-       struct DNSQuery dns_query;
+       uint16_t dns_id;
        rb_dlink_node node;
 };