3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-24 04:49:25 +01:00

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;
} }