This commit is contained in:
reality 2014-06-29 12:09:47 +00:00
parent 4aed770b7e
commit 9fe8b3ab43

View File

@ -57,7 +57,7 @@ var commands = function(dbot) {
this.api.quiet(server, host, channel); this.api.quiet(server, host, channel);
if(reason !== "N/A") { if(reason.indexOf('#warn') !== -1) {
dbot.api.warning.warn(server, event.rUser, quietee, dbot.api.warning.warn(server, event.rUser, quietee,
'Quieted in ' + channel + ' for ' + reason, channel, 'Quieted in ' + channel + ' for ' + reason, channel,
function() {}); function() {});