mirror of
https://github.com/reality/dbot.git
synced 2024-11-24 12:59:34 +01:00
7
This commit is contained in:
parent
817915958b
commit
ea14374736
@ -20,7 +20,7 @@ var spelling = function(dbot) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(winnerDistance < 5) {
|
if(winnerDistance < 7) {
|
||||||
if(winner !== correction) {
|
if(winner !== correction) {
|
||||||
var fix = last[data.channel][data.user].replace(winner, correction);
|
var fix = last[data.channel][data.user].replace(winner, correction);
|
||||||
last[data.channel][data.user] = fix;
|
last[data.channel][data.user] = fix;
|
||||||
|
Loading…
Reference in New Issue
Block a user