]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - src/reslib.c
Clean up cmode norepeat's metadata when unsetting +K.
[irc/rqf/shadowircd.git] / src / reslib.c
index 516cb65e2de7a406b60a50e016e4810919c9a4c2..38c09ebdf6e5d874766507e70df74578e07fdc85 100644 (file)
@@ -86,7 +86,7 @@
 #include "ircd.h"
 #include "res.h"
 #include "reslib.h"
-#include "irc_string.h"
+#include "match.h"
 
 #define NS_TYPE_ELT             0x40 /* EDNS0 extended label type */
 #define DNS_LABELTYPE_BITSTRING 0x41
@@ -97,7 +97,7 @@
 
 struct rb_sockaddr_storage irc_nsaddr_list[IRCD_MAXNS];
 int irc_nscount = 0;
-char irc_domain[HOSTLEN + 1];
+char irc_domain[IRCD_RES_HOSTLEN + 1];
 
 static const char digitvalue[256] = {
   -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, /*16*/