]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Improve the numerics we send in response to MAP.
authorPeter Powell <petpow@saberuk.com>
Thu, 13 Jul 2017 14:44:41 +0000 (15:44 +0100)
committerPeter Powell <petpow@saberuk.com>
Thu, 13 Jul 2017 15:54:18 +0000 (16:54 +0100)
- Send the same numerics as ircu/ircd-hybrid/charybdis/ratbox/etc.
  These are much more widespread and predate the Unreal numeric we
  currently send.
- Move RPL_MAPUSERS to 018. This numeric is unused and does not
  conflict with RPL_PRIVS like our current one does.

include/numerics.h

index 0d5537278b3b80643b1935d931a0aef753347de1..e1d225d31129ef4103167c3c0239824446a29fcd 100644 (file)
@@ -46,11 +46,13 @@ enum
        RPL_SERVERVERSION               = 4, // 2812, not 1459
        RPL_ISUPPORT                    = 5, // not RFC, extremely common though (defined as RPL_BOUNCE in 2812, widely ignored)
 
-       RPL_MAP                         = 6, // unrealircd
-       RPL_ENDMAP                      = 7, // unrealircd
        RPL_SNOMASKIS                   = 8, // unrealircd
        RPL_REDIR                       = 10,
 
+       RPL_MAP                         = 15, // ircu
+       RPL_ENDMAP                      = 17, // ircu
+       RPL_MAPUSERS                    = 18, // insp-specific
+
        RPL_YOURUUID                    = 42, // taken from ircnet
 
        RPL_UMODEIS                     = 221,
@@ -70,8 +72,6 @@ enum
        RPL_LOCALUSERS                  = 265,
        RPL_GLOBALUSERS                 = 266,
 
-       RPL_MAPUSERS                    = 270, // insp-specific
-
        RPL_AWAY                        = 301,
        RPL_USERHOST                    = 302,
        RPL_ISON                        = 303,