diff options
| author | 2022-06-26 15:20:06 +0100 | |
|---|---|---|
| committer | 2022-06-26 15:29:29 +0100 | |
| commit | 89712e2e84af1230232985c680846208a932d72b (patch) | |
| tree | e6c43c55013a7b40e6f62c7d2410cd7790a9863a /src/commands.cpp | |
| parent | Merge 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.cpp | 10 |
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) |
