From 85bc47c15276c308faa516ce79de180ecd704cfd Mon Sep 17 00:00:00 2001 From: Psychedelic Squid Date: Tue, 6 Mar 2012 22:19:11 +0000 Subject: [PATCH] Sanity check; don't want to match against identical words to the correction. --- modules/spelling.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/spelling.js b/modules/spelling.js index 0f286cc..4f43e83 100644 --- a/modules/spelling.js +++ b/modules/spelling.js @@ -13,7 +13,7 @@ var spelling = function(dbot) { for(var i=0;i 0)) { winner = candidates[i]; winnerDistance = distance; }