From: Peter Powell Date: Thu, 13 Jul 2017 14:44:41 +0000 (+0100) Subject: Improve the numerics we send in response to MAP. X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=9bb631990d72515287a38436121afd2fd35c5ce1;p=user%2Fhenk%2Fcode%2Finspircd.git 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. --- 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,