mirror of
https://github.com/reality/dbot.git
synced 2024-11-24 04:49:25 +01:00
quotes ignore check for ~quotecat
This commit is contained in:
parent
8f5759252f
commit
79cf8243a0
@ -100,7 +100,9 @@ var command = function(dbot) {
|
||||
} else {
|
||||
q[1] = q[1].trim();
|
||||
key = dbot.cleanNick(q[1])
|
||||
if(dbot.db.quoteArrs.hasOwnProperty(key) && dbot.moduleNames.include('quotes')) {
|
||||
if(dbot.db.quoteArrs.hasOwnProperty(key) && dbot.moduleNames.include('quotes') &&
|
||||
(dbot.db.ignores.hasOwnProperty(data.user) &&
|
||||
dbot.db.ignores[data.user].include(name)) == false) {
|
||||
var params = ['~q'];
|
||||
key.split(' ').each((function(word) {
|
||||
this.push(word);
|
||||
|
Loading…
Reference in New Issue
Block a user