forked from GitHub/dbot
Update modules/quotes/quotes.js
Fix not found output
This commit is contained in:
parent
950ba882b8
commit
1ff6c5c3c2
@ -185,7 +185,6 @@ var quotes = function(dbot) {
|
||||
if(!dbot.db.locks.include(key)) {
|
||||
var category = quotes[key];
|
||||
var index = category.indexOf(quote);
|
||||
var quote = category[index];
|
||||
if(index !== -1) {
|
||||
category.splice(index, 1);
|
||||
if(category.length === 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user