From 9fe8b3ab438ba5e4c827c7c33db9e413dbe6bc02 Mon Sep 17 00:00:00 2001 From: reality Date: Sun, 29 Jun 2014 12:09:47 +0000 Subject: [PATCH] #warn --- modules/kick/commands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/kick/commands.js b/modules/kick/commands.js index 2ed06d2..ae77ed2 100644 --- a/modules/kick/commands.js +++ b/modules/kick/commands.js @@ -57,7 +57,7 @@ var commands = function(dbot) { this.api.quiet(server, host, channel); - if(reason !== "N/A") { + if(reason.indexOf('#warn') !== -1) { dbot.api.warning.warn(server, event.rUser, quietee, 'Quieted in ' + channel + ' for ' + reason, channel, function() {});