From 3f218ebb52800688362b1f4259452935fa65a3f9 Mon Sep 17 00:00:00 2001 From: Psychedelic Squid Date: Wed, 21 Mar 2012 02:53:54 +0800 Subject: [PATCH] Make spelling distance check not care about case. --- modules/spelling.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/spelling.js b/modules/spelling.js index 5e1096a..a50ed9a 100644 --- a/modules/spelling.js +++ b/modules/spelling.js @@ -12,7 +12,7 @@ var spelling = function(dbot) { var winnerDistance = Infinity; for(var i=0;i 0)) { winner = candidates[i]; winnerDistance = distance;