diff --git a/modules/kick/commands.js b/modules/kick/commands.js index cdd844e..2ed06d2 100644 --- a/modules/kick/commands.js +++ b/modules/kick/commands.js @@ -56,6 +56,12 @@ var commands = function(dbot) { } this.api.quiet(server, host, channel); + + if(reason !== "N/A") { + dbot.api.warning.warn(server, event.rUser, quietee, + 'Quieted in ' + channel + ' for ' + reason, channel, + function() {}); + } } else { event.reply(dbot.t('no_user', { 'user': quietee })); }