forked from GitHub/dbot
distance 5
This commit is contained in:
parent
d5d68fcc51
commit
817915958b
@ -20,7 +20,7 @@ var spelling = function(dbot) {
|
||||
}
|
||||
}
|
||||
|
||||
if(winnerDistance < 3) {
|
||||
if(winnerDistance < 5) {
|
||||
if(winner !== correction) {
|
||||
var fix = last[data.channel][data.user].replace(winner, correction);
|
||||
last[data.channel][data.user] = fix;
|
||||
|
Loading…
Reference in New Issue
Block a user