From adb850d3068be46059f329930672c2fd60a3ca15 Mon Sep 17 00:00:00 2001 From: xsftk Date: Sat, 11 Nov 2017 15:19:18 +0700 Subject: [PATCH] lil fix --- .../Modules/CustomReactions/Extensions/Extensions.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NadekoBot.Core/Modules/CustomReactions/Extensions/Extensions.cs b/NadekoBot.Core/Modules/CustomReactions/Extensions/Extensions.cs index 7e24cff6..1711b95c 100644 --- a/NadekoBot.Core/Modules/CustomReactions/Extensions/Extensions.cs +++ b/NadekoBot.Core/Modules/CustomReactions/Extensions/Extensions.cs @@ -150,9 +150,9 @@ namespace NadekoBot.Modules.CustomReactions.Extensions private static bool isInvalidWordChar(this string str, int index) { var ch = (ushort)str[index]; - if (ch > 64 && ch <= 90) // must be A-Z + if (ch >= 65 && ch <= 90) // must be A-Z return false; - if (ch > 97 && ch <= 122) // a-z + if (ch >= 97 && ch <= 122) // a-z return false; return true;