forked from GitHub/dbot
whoops missing bracket
This commit is contained in:
parent
8c81842643
commit
47b6c0ff5b
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user