X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/f1fe7b4b28739cd593b82ec4f146b5df465ab234..eb1b303d56cd577c6c56e22cbb403a4470cd2920:/include/ircd_defs.h diff --git a/include/ircd_defs.h b/include/ircd_defs.h index a3f73b52..6816f977 100644 --- a/include/ircd_defs.h +++ b/include/ircd_defs.h @@ -27,7 +27,7 @@ /* * NOTE: NICKLEN and TOPICLEN do not live here anymore. Set it with configure - * Otherwise there are no user servicable part here. + * Otherwise there are no user servicable part here. * */ @@ -66,6 +66,11 @@ #define HOSTLEN 63 /* Length of hostname. Updated to */ /* comply with RFC1123 */ +/* Longest hostname we're willing to work with. + * Due to DNSBLs this is more than HOSTLEN. + */ +#define IRCD_RES_HOSTLEN 255 + #define USERLEN 10 #define REALLEN 50 #define CHANNELLEN 200 @@ -91,8 +96,8 @@ #define HELPLEN 400 -/* - * message return values +/* + * message return values */ #define CLIENT_EXITED -2 #define CLIENT_PARSE_ERROR -1