whoops missing bracket

This commit is contained in:
Luke Slater 2012-03-19 18:48:12 +00:00
parent 8c81842643
commit 47b6c0ff5b

View File

@ -201,7 +201,7 @@ var quotes = function(dbot) {
if(!Object.isArray(quotes[key])) { if(!Object.isArray(quotes[key])) {
quotes[key] = []; quotes[key] = [];
} else { } else {
if (quotes[key].include(q[2]) { if (quotes[key].include(q[2])) {
dbot.say(data.channel, 'Quote already in DB. Initiate incineration.'); dbot.say(data.channel, 'Quote already in DB. Initiate incineration.');
return; return;
} }