mirror of
https://github.com/reality/dbot.git
synced 2025-02-17 14:01:04 +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 {
|
} else {
|
||||||
q[1] = q[1].trim();
|
q[1] = q[1].trim();
|
||||||
key = dbot.cleanNick(q[1])
|
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'];
|
var params = ['~q'];
|
||||||
key.split(' ').each((function(word) {
|
key.split(' ').each((function(word) {
|
||||||
this.push(word);
|
this.push(word);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user