diff --git a/modules/spelling.js b/modules/spelling.js index 4f43e83..edd4fff 100644 --- a/modules/spelling.js +++ b/modules/spelling.js @@ -19,7 +19,7 @@ var spelling = function(dbot) { } } - if(winnerDistance < 7) { + if(winnerDistance < Math.ceil(correction.length * 1.33)) { if(winner !== correction) { var fix = last[data.channel][candidate].replace(winner, correction); if (/^.ACTION/.test(fix)) {