3
0
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:
reality 2015-02-08 21:10:23 +00:00
parent 6b7b5494f6
commit 76a59dee55

View File

@ -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);
});