From 47b6c0ff5bd2e5f5fbd526c876942ca5d390efb9 Mon Sep 17 00:00:00 2001 From: Luke Slater Date: Mon, 19 Mar 2012 18:48:12 +0000 Subject: [PATCH] whoops missing bracket --- modules/quotes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/quotes.js b/modules/quotes.js index c8029d4..d5f9670 100644 --- a/modules/quotes.js +++ b/modules/quotes.js @@ -201,7 +201,7 @@ var quotes = function(dbot) { if(!Object.isArray(quotes[key])) { quotes[key] = []; } else { - if (quotes[key].include(q[2]) { + if (quotes[key].include(q[2])) { dbot.say(data.channel, 'Quote already in DB. Initiate incineration.'); return; }