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:
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