]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Change the numerics used by /COMMANDS to avoid a collision.
authorPeter Powell <petpow@saberuk.com>
Tue, 5 Sep 2017 18:10:03 +0000 (19:10 +0100)
committerPeter Powell <petpow@saberuk.com>
Wed, 6 Sep 2017 08:26:05 +0000 (09:26 +0100)
include/numerics.h
src/coremods/core_info/cmd_commands.cpp

index e1d225d31129ef4103167c3c0239824446a29fcd..03c1a1c96481f446bee8d191779e00a3879c91af 100644 (file)
@@ -189,9 +189,6 @@ enum
        ERR_CANTJOINOPERSONLY           = 520, // unrealircd, but crap to have so many numerics for cant join..
        ERR_CANTSENDTOUSER              = 531, // ???
 
-       RPL_COMMANDS                    = 702, // insp-specific
-       RPL_COMMANDSEND                 = 703, // insp-specific
-
        ERR_CHANOPEN                    = 713,
        ERR_KNOCKONCHAN                 = 714,
 
index b6cc8e34dae38abe30418b5bf9901be24dbae9e6..a7a622f5fe96eedd7f05f94469928acaaa2856c8 100644 (file)
 #include "inspircd.h"
 #include "core_info.h"
 
+enum
+{
+       // InspIRCd-specific.
+       RPL_COMMANDS = 700,
+       RPL_COMMANDSEND = 701
+};
+
 CommandCommands::CommandCommands(Module* parent)
        : Command(parent, "COMMANDS", 0, 0)
 {