From 9b00578a604e12fe001bd27091110fda3d912f6b Mon Sep 17 00:00:00 2001 From: Luke Slater Date: Mon, 2 Jan 2012 13:20:20 +0000 Subject: [PATCH] winnerDistance back up to 7 --- modules/spelling.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/spelling.js b/modules/spelling.js index 4856ff3..a2c8d1f 100644 --- a/modules/spelling.js +++ b/modules/spelling.js @@ -15,7 +15,7 @@ var spelling = function(dbot) { } } - if(winnerDistance < 3) { + if(winnerDistance < 7) { if(winner !== correction) { var fix = last[data.channel][candidate].replace(winner, correction); if (/^.ACTION/.test(fix)) {