mirror of
https://github.com/reality/dbot.git
synced 2024-11-23 12:29:26 +01:00
#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