From f55f645a3b6a3832f7cd488761d618053fe06f39 Mon Sep 17 00:00:00 2001 From: reality Date: Thu, 1 Mar 2018 13:57:45 +0000 Subject: [PATCH] some smal fixes and clarities --- modules/kill_namespam/kill_namespam.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/kill_namespam/kill_namespam.js b/modules/kill_namespam/kill_namespam.js index 4ca24cf..0a522d5 100644 --- a/modules/kill_namespam/kill_namespam.js +++ b/modules/kill_namespam/kill_namespam.js @@ -16,14 +16,14 @@ var kill_namespam = function(dbot) { var ip = event.message.split(' ')[1] // Alternatively you can just do dbot.api.kick.kill(event.server, event.user, message); - dbot.say(event.server, 'operserv', 'akill add *@'+ ip +' !P Naughty Nelly Auto-kill v6.2'); + dbot.say(event.server, 'operserv', 'akill add *@'+ ip +' !P Naughty Nelly Auto-kill v6.2. Matched pattern: /'+ matchedPattern +'/'); var msg = dbot.t('clikill_act', { 'ip': ip, 'pattern': matchedPattern }); event.reply(msg); - dbot.api.report.notify('autokill', event.server, event.user, + dbot.api.report.notify('autokill', event.server, event.rUser, dbot.config.servers[event.server].admin_channel, msg, ip, ip); } }