rookie mistake

This commit is contained in:
reality 2016-02-19 19:28:01 +00:00
parent 2f6dc6f25f
commit 8095aea3d0

View File

@ -86,7 +86,7 @@ var warning = function(dbot) {
});
if(index <= sTimes.length && index >= 0) {
this.db.del('notifies', warns[sTimes[index]], function(err) {
this.db.del('notifies', warns[sTimes[index]].id, function(err) {
event.reply(dbot.t('warning_removed'));
});
} else {