mirror of
https://github.com/reality/dbot.git
synced 2024-12-25 20:22:39 +01:00
winnerDistance back up to 7
This commit is contained in:
parent
b3c655a46b
commit
9b00578a60
@ -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)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user