diff --git a/src/Discord.Net.Rest/Entities/Messages/MessageHelper.cs b/src/Discord.Net.Rest/Entities/Messages/MessageHelper.cs index 47a343f90..0698dcdb5 100644 --- a/src/Discord.Net.Rest/Entities/Messages/MessageHelper.cs +++ b/src/Discord.Net.Rest/Entities/Messages/MessageHelper.cs @@ -119,9 +119,7 @@ namespace Discord.Rest if (blockMatch.Success) { if (EnclosedInBlock(blockMatch)) - { return true; - } // continue if the end of the current code was before the start of the tag codeIndex += blockMatch.Groups[2].Index + blockMatch.Groups[2].Length; if (codeIndex < index) @@ -132,9 +130,7 @@ namespace Discord.Rest if (inlineMatch.Success) { if (EnclosedInBlock(inlineMatch)) - { return true; - } // continue if the end of the current code was before the start of the tag codeIndex += inlineMatch.Groups[2].Index + inlineMatch.Groups[2].Length; if (codeIndex < index)