Merge branch 'master' of github.com:reality/depressionbot

This commit is contained in:
reality 2012-12-23 13:23:25 +00:00
commit c91c7e3e34

View File

@ -185,7 +185,6 @@ var quotes = function(dbot) {
if(!dbot.db.locks.include(key)) { if(!dbot.db.locks.include(key)) {
var category = quotes[key]; var category = quotes[key];
var index = category.indexOf(quote); var index = category.indexOf(quote);
var quote = category[index];
if(index !== -1) { if(index !== -1) {
category.splice(index, 1); category.splice(index, 1);
if(category.length === 0) { if(category.length === 0) {