From 1ff6c5c3c2059301508c3d23accde1c4679df997 Mon Sep 17 00:00:00 2001 From: Luke Slater Date: Thu, 20 Dec 2012 13:27:56 +0100 Subject: [PATCH] Update modules/quotes/quotes.js Fix not found output --- modules/quotes/quotes.js | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/quotes/quotes.js b/modules/quotes/quotes.js index 6b8cdc8..7d8b1f3 100644 --- a/modules/quotes/quotes.js +++ b/modules/quotes/quotes.js @@ -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) {