aboutsummaryrefslogtreecommitdiffstats
path: root/src/commands.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/commands.cpp
parentMerge branch 'insp3' into master. (diff)
Move numerics to the source files where they are actually used.
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index 533fa6e5f..1d6fdb299 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -24,6 +24,16 @@
#include "inspircd.h"
+enum
+{
+ // From RFC 1459.
+ ERR_NOTREGISTERED = 451,
+ ERR_NEEDMOREPARAMS = 461,
+
+ // InspIRCd-specific.
+ RPL_SYNTAX = 650,
+};
+
CommandBase::CommandBase(Module* mod, const std::string& cmd, unsigned int minpara, unsigned int maxpara)
: ServiceProvider(mod, cmd, SERVICE_COMMAND)
, min_params(minpara)