diff options
author | Peter Powell <petpow@saberuk.com> | 2017-07-13 15:44:41 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2017-07-13 16:54:18 +0100 |
commit | 9bb631990d72515287a38436121afd2fd35c5ce1 (patch) | |
tree | 603338761d4250c276bbe208c0249f38d5b1caf1 | |
parent | e191f0ed6cdca421407ebc67c28fafabc6cc63f7 (diff) |
Improve the numerics we send in response to MAP.
- 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.
-rw-r--r-- | include/numerics.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/numerics.h b/include/numerics.h index 0d5537278..e1d225d31 100644 --- a/include/numerics.h +++ b/include/numerics.h @@ -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, |