mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 14:29:29 +01:00
yee
This commit is contained in:
parent
429eafd8e4
commit
3726be64b7
@ -24,7 +24,7 @@ var command = function(dbot) {
|
||||
dbot.api.ignore.isUserIgnoring(event.server, event.user, commandName, function(isIgnoring) {
|
||||
dbot.api.ignore.isUserBanned(event.server, event.user, commandName, function(isBanned) {
|
||||
if(isBanned) {
|
||||
if(this.config.banOutput === true && commandName != '~') {
|
||||
if(this.config.banOutput && commandName != '~') {
|
||||
event.reply(dbot.t('command_ban', {'user': event.user}));
|
||||
}
|
||||
} else if(!hasAccess) {
|
||||
|
Loading…
Reference in New Issue
Block a user