forked from GitHub/dbot
#note #quiet warns
This commit is contained in:
parent
6b7b5494f6
commit
76a59dee55
@ -34,7 +34,9 @@ var warning = function(dbot) {
|
||||
'admin_channel': dbot.config.servers[server].admin_channel
|
||||
});
|
||||
|
||||
dbot.say(server, warnee.currentNick, uString);
|
||||
if(reason.indexOf('#quiet') === -1 && reason.indexOf('#note') === -1) {
|
||||
dbot.say(server, warnee.currentNick, uString);
|
||||
}
|
||||
|
||||
callback(null);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user