forked from GitHub/dbot
rookie mistake
This commit is contained in:
parent
2f6dc6f25f
commit
8095aea3d0
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user