]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/numerics.h
Use CommandBase::Params instead of std::vector<std::string>.
[user/henk/code/inspircd.git] / include / numerics.h
index 2a3f090e79545481b785a61bdc32d6c97938bfd1..9e0ee07da6b98731c3498324f28112808d0dc7cb 100644 (file)
@@ -45,14 +45,12 @@ enum
        RPL_ISUPPORT                    = 5, // not RFC, extremely common though (defined as RPL_BOUNCE in 2812, widely ignored)
 
        RPL_SNOMASKIS                   = 8, // unrealircd
-       RPL_REDIR                       = 10,
 
        RPL_MAP                         = 15, // ircu
        RPL_ENDMAP                      = 17, // ircu
        RPL_MAPUSERS                    = 18, // insp-specific
 
        RPL_UMODEIS                     = 221,
-       RPL_RULES                       = 232, // unrealircd
 
        RPL_LUSERCLIENT                 = 251,
        RPL_LUSEROP                     = 252,
@@ -75,12 +73,7 @@ enum
        RPL_UNAWAY                      = 305,
        RPL_NOWAWAY                     = 306,
 
-       RPL_RULESTART                   = 308, // unrealircd
-       RPL_RULESEND                    = 309, // unrealircd
-
        RPL_WHOISSERVER                 = 312,
-
-       RPL_ENDOFWHO                    = 315,
        RPL_ENDOFWHOIS                  = 318,
 
        RPL_LISTSTART                   = 321,
@@ -98,7 +91,6 @@ enum
        RPL_INVITELIST                  = 346, // insp-specific (stolen from ircu)
        RPL_ENDOFINVITELIST             = 347, // insp-specific (stolen from ircu)
        RPL_VERSION                     = 351,
-       RPL_WHOREPLY                    = 352,
        RPL_NAMREPLY                    = 353,
        RPL_LINKS                       = 364,
        RPL_ENDOFLINKS                  = 365,
@@ -124,14 +116,12 @@ enum
        ERR_CANNOTSENDTOCHAN            = 404,
        ERR_TOOMANYCHANNELS             = 405,
        ERR_WASNOSUCHNICK               = 406,
-       ERR_INVALIDCAPSUBCOMMAND        = 410, // ratbox/charybdis(?)
        ERR_NOTEXTTOSEND                = 412,
        ERR_UNKNOWNCOMMAND              = 421,
        ERR_NOMOTD                      = 422,
        ERR_NONICKNAMEGIVEN             = 431,
        ERR_ERRONEUSNICKNAME            = 432,
        ERR_NICKNAMEINUSE               = 433,
-       ERR_NORULES                     = 434, // unrealircd
        ERR_USERNOTINCHANNEL            = 441,
        ERR_NOTONCHANNEL                = 442,
        ERR_USERONCHANNEL               = 443,
@@ -171,26 +161,18 @@ enum
 
        ERR_RESTRICTED                  = 484,
 
-       ERR_ALLMUSTSSL                  = 490, // unrealircd
        ERR_NOOPERHOST                  = 491,
-       ERR_NOCTCPALLOWED               = 492, // XXX: bzzzz. 1459 defines this as ERR_NOSERVICEHOST, research it more and perhaps change this! (ERR_CANNOTSENDTOCHAN?)
-                                              // wtf, we also use this for m_noinvite. UGLY!
        ERR_DELAYREJOIN                 = 495, // insp-specific, XXX: we should use 'resource temporarily unavailable' from ircnet/ratbox or whatever
        ERR_UNKNOWNSNOMASK              = 501, // insp-specific
        ERR_USERSDONTMATCH              = 502,
-       ERR_CANTJOINOPERSONLY           = 520, // unrealircd, but crap to have so many numerics for cant join..
        ERR_CANTSENDTOUSER              = 531, // ???
 
        RPL_SYNTAX                      = 650, // insp-specific
        ERR_INVALIDMODEPARAM            = 696, // insp-specific
 
-       ERR_CHANOPEN                    = 713,
-       ERR_KNOCKONCHAN                 = 714,
-
        RPL_OTHERUMODEIS                = 803, // insp-specific
        RPL_OTHERSNOMASKIS              = 804, // insp-specific
 
-       ERR_WORDFILTERED                = 936, // insp-specific, would be nice if we could get rid of this..
        ERR_CANTUNLOADMODULE            = 972, // insp-specific
        RPL_UNLOADEDMODULE              = 973, // insp-specific
        ERR_CANTLOADMODULE              = 974, // insp-specific