3
0
mirror of https://github.com/reality/dbot.git synced 2025-01-12 13:12:41 +01:00

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) {
var fix = last[data.channel][candidate].replace(winner, correction);
if (/^.ACTION/.test(fix)) {