aboutsummaryrefslogtreecommitdiff
path: root/src/channels.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-06-26 15:20:06 +0100
committerGravatar Sadie Powell2022-06-26 15:29:29 +0100
commit89712e2e84af1230232985c680846208a932d72b (patch)
treee6c43c55013a7b40e6f62c7d2410cd7790a9863a /src/channels.cpp
parentMerge branch 'insp3' into master. (diff)
Move numerics to the source files where they are actually used.
Diffstat (limited to 'src/channels.cpp')
-rw-r--r--src/channels.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/channels.cpp b/src/channels.cpp
index d4b488862..a2cd6a353 100644
--- a/src/channels.cpp
+++ b/src/channels.cpp
@@ -28,6 +28,12 @@
#include "inspircd.h"
#include "listmode.h"
+enum
+{
+ // From RFC 1459.
+ ERR_TOOMANYCHANNELS = 405,
+};
+
namespace
{
ChanModeReference ban(NULL, "ban");