From 9134a437d56f1a2cd204caa9b2a6a8c486930fb6 Mon Sep 17 00:00:00 2001 From: "Tristan B. Velloza Kildaire" Date: Thu, 16 Mar 2023 13:07:29 +0200 Subject: [PATCH] Constants - Apparently that syntax does octal number representation, I don't want that --- source/birchwood/protocol/constants.d | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/source/birchwood/protocol/constants.d b/source/birchwood/protocol/constants.d index 6c831b2..0863eec 100644 --- a/source/birchwood/protocol/constants.d +++ b/source/birchwood/protocol/constants.d @@ -152,11 +152,11 @@ public enum ReplyType : ulong /** * rfc 2812 */ - RPL_WELCOME = 001, - RPL_YOURHOST = 002, - RPL_CREATED = 003, - RPL_MYINFO = 004, - RPL_BOUNCE = 010, // In ircv3 this changed from 005 to 010 + RPL_WELCOME = 1, + RPL_YOURHOST = 2, + RPL_CREATED = 3, + RPL_MYINFO = 4, + RPL_BOUNCE = 10, // In ircv3 this changed from 005 to 010 ERR_NOCHANMODES = 477, /** @@ -165,7 +165,7 @@ public enum ReplyType : ulong RPL_LOCALUSERS = 265, RPL_GLOBALUSERS = 266, RPL_WHOISCERTFP = 276, - RPL_ISUPPORT = 005, // This overrides the old rfc2812 RPL_BOUNCE code (we can only support one of these) + RPL_ISUPPORT = 5, // This overrides the old rfc2812 RPL_BOUNCE code (we can only support one of these)