From a69f543be3bb6df77bfc19eaadc313d405ec2d45 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Tue, 14 Aug 2018 19:18:15 +0100 Subject: Fix a bunch more conflicting/unnamed numerics. --- src/modules/m_dccallow.cpp | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'src/modules/m_dccallow.cpp') diff --git a/src/modules/m_dccallow.cpp b/src/modules/m_dccallow.cpp index 04f85739a..f2d6bf105 100644 --- a/src/modules/m_dccallow.cpp +++ b/src/modules/m_dccallow.cpp @@ -27,6 +27,11 @@ enum { + // From ircd-ratbox. + RPL_HELPSTART = 704, + RPL_HELPTXT = 705, + RPL_ENDOFHELP = 706, + // InspIRCd-specific? RPL_DCCALLOWSTART = 990, RPL_DCCALLOWLIST = 991, @@ -36,16 +41,11 @@ enum RPL_DCCALLOWREMOVED = 995, ERR_DCCALLOWINVALID = 996, RPL_DCCALLOWEXPIRED = 997, - ERR_UNKNOWNDCCALLOWCMD = 998, - // TODO: These numerics are conflicting and should be removed - // and be replaced with helpop. - RPL_DCCALLOWHELP = 998, - RPL_ENDOFDCCALLOWHELP = 999 + ERR_UNKNOWNDCCALLOWCMD = 998 }; static const char* const helptext[] = { - "DCCALLOW [(+|-) [