summaryrefslogtreecommitdiff
path: root/include/numerics.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/numerics.h')
-rw-r--r--include/numerics.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/include/numerics.h b/include/numerics.h
new file mode 100644
index 000000000..6a587a5b3
--- /dev/null
+++ b/include/numerics.h
@@ -0,0 +1,41 @@
+/* +------------------------------------+
+ * | Inspire Internet Relay Chat Daemon |
+ * +------------------------------------+
+ *
+ * InspIRCd: (C) 2002-2008 InspIRCd Development Team
+ * See: http://www.inspircd.org/wiki/index.php/Credits
+ *
+ * This program is free but copyrighted software; see
+ * the file COPYING for details.
+ *
+ * ---------------------------------------------------
+ */
+
+/*
+ * This file is aimed providing a string that is easier to use than using the numeric
+ * directly.
+ *
+ * Thanks to Darom, jackmcbarn and Brain for suggesting and discussing this.
+ *
+ * Please note that the list may not be exhaustive, it'll be done when I have
+ * nothing better to do with my time. -- w00t (jul 13, 2008)
+ */
+
+enum Numerics
+{
+ /*
+ * Reply range of numerics.
+ */
+ RPL_TOPIC = 332,
+ RPL_TOPICTIME = 333,
+
+
+ /*
+ * Error range of numerics.
+ */
+ ERR_TOOMANYCHANNELS = 405,
+ ERR_BADCHANNELKEY = 475,
+ ERR_INVITEONLYCHAN = 473,
+ ERR_CHANNELISFULL = 471,
+ ERR_BANNEDFROMCHAN = 474
+};