summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-02-29 13:07:14 +0000
committerSadie Powell <sadie@witchery.services>2024-02-29 13:07:14 +0000
commit25bdcfcbc472b8e348aa338d8ebb0a18fd006fff (patch)
tree6ccd249120c0d3281a5b0b25f6cff1d65445c703 /include
parent26919f41d2e2089ca0a4f402cd948d067d030704 (diff)
Add names for the numerics used by the core.
Diffstat (limited to 'include')
-rw-r--r--include/numeric.h35
1 files changed, 35 insertions, 0 deletions
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,
+};