summaryrefslogtreecommitdiff
path: root/DiscoBot/Auxiliary
diff options
context:
space:
mode:
Diffstat (limited to 'DiscoBot/Auxiliary')
-rw-r--r--DiscoBot/Auxiliary/SpellCorrect.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/DiscoBot/Auxiliary/SpellCorrect.cs b/DiscoBot/Auxiliary/SpellCorrect.cs
index 244914b..4f4f7d0 100644
--- a/DiscoBot/Auxiliary/SpellCorrect.cs
+++ b/DiscoBot/Auxiliary/SpellCorrect.cs
@@ -65,6 +65,10 @@
public double CompareExact(string s, string q)
{
+
+ s = s.ToLower();
+ q = q.ToLower();
+
int i, j;
const double Match = 3.0;
const double Gap = -2.0;