forked from GitHub/dbot
whoops
This commit is contained in:
parent
78508dd1a5
commit
6cd6b3e41a
@ -116,10 +116,10 @@ var quotes = function(dbot) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(once) {
|
if(once) {
|
||||||
if((this.db.bans.hasOwnProperty('~qadd') &&
|
if((dbot.db.bans.hasOwnProperty('~qadd') &&
|
||||||
this.db.bans['~qadd'].include(data.user)) ||
|
dbot.db.bans['~qadd'].include(data.user)) ||
|
||||||
this.db.bans['*'].include(data.user)) {
|
dbot.db.bans['*'].include(data.user)) {
|
||||||
this.say(data.channel, data.user + ' is banned from using this command. Commence incineration.');
|
dbot.say(data.channel, data.user + ' is banned from using this command. Commence incineration.');
|
||||||
} else {
|
} else {
|
||||||
dbot.db.quoteArrs['realityonce'].push('reality ' + once[1] + '.');
|
dbot.db.quoteArrs['realityonce'].push('reality ' + once[1] + '.');
|
||||||
addStack.push('realityonce');
|
addStack.push('realityonce');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user