winnerDistance back up to 7

This commit is contained in:
Luke Slater 2012-01-02 13:20:20 +00:00
parent b3c655a46b
commit 9b00578a60

View File

@ -15,7 +15,7 @@ var spelling = function(dbot) {
} }
} }
if(winnerDistance < 3) { if(winnerDistance < 7) {
if(winner !== correction) { if(winner !== correction) {
var fix = last[data.channel][candidate].replace(winner, correction); var fix = last[data.channel][candidate].replace(winner, correction);
if (/^.ACTION/.test(fix)) { if (/^.ACTION/.test(fix)) {