From 817915958bdba2451b712b0ba0ebee9c072c2cce Mon Sep 17 00:00:00 2001 From: Luke Slater Date: Wed, 14 Dec 2011 19:15:32 +0000 Subject: [PATCH] distance 5 --- modules/spelling.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/spelling.js b/modules/spelling.js index 40a33db..0d97e46 100644 --- a/modules/spelling.js +++ b/modules/spelling.js @@ -20,7 +20,7 @@ var spelling = function(dbot) { } } - if(winnerDistance < 3) { + if(winnerDistance < 5) { if(winner !== correction) { var fix = last[data.channel][data.user].replace(winner, correction); last[data.channel][data.user] = fix;