From 89712e2e84af1230232985c680846208a932d72b Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 26 Jun 2022 15:20:06 +0100 Subject: Move numerics to the source files where they are actually used. --- src/commands.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/commands.cpp') 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) -- cgit v1.3.1-10-gc9f91