var not int jesus christ java

This commit is contained in:
Luke Slater 2011-10-26 17:26:37 +01:00
parent d57b2e2092
commit 254f89f710

View File

@ -22,7 +22,7 @@ var spelling = function(dbot) {
console.log(winner + ' ' + winnerDistance);
if(winnerDistance < 3) {
var fix = data.message.replace(winner, correction);
var fix = last[data.channel][data.user].replace(winner, correction);
dbot.say(data.channel, data.user + ':' + fix);
}
} else {