From 25bdcfcbc472b8e348aa338d8ebb0a18fd006fff Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 29 Feb 2024 13:07:14 +0000 Subject: Add names for the numerics used by the core. --- include/numeric.h | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 include/numeric.h (limited to 'include') diff --git a/include/numeric.h b/include/numeric.h new file mode 100644 index 000000000..0c308958f --- /dev/null +++ b/include/numeric.h @@ -0,0 +1,35 @@ +/* + * + * (C) 2003-2024 Anope Team + * Contact us at team@anope.org + * + * Please read COPYING and README for further details. + * + * Based on the original code of Epona by Lara. + * Based on the original code of Services by Andy Church. + */ + +#pragma once + +enum +{ + RPL_STATSLINKINFO = 211, + RPL_ENDOFSTATS = 219, + RPL_STATSUPTIME = 242, + RPL_STATSOLINE = 243, + RPL_STATSCONN = 250, + RPL_WHOISREGNICK = 307, + RPL_WHOISUSER = 311, + RPL_WHOISSERVER = 312, + RPL_WHOISOPERATOR = 313, + RPL_WHOISIDLE = 317, + RPL_ENDOFWHOIS = 318, + RPL_VERSION = 351, + RPL_MOTD = 372, + RPL_MOTDSTART = 375, + RPL_ENDOFMOTD = 376, + RPL_YOUREOPER = 381, + RPL_TIME = 391, + ERR_NOSUCHNICK = 401, + ERR_NOMOTD = 422, +}; -- cgit