From 3b6dd186110aaa3e65b86d7f97d82783d6bbcbd4 Mon Sep 17 00:00:00 2001 From: reality Date: Fri, 16 Feb 2018 13:30:56 +0000 Subject: [PATCH] more syntax --- 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 123127e..53c1fac 100644 --- a/modules/kill_namespam/kill_namespam.js +++ b/modules/kill_namespam/kill_namespam.js @@ -18,11 +18,11 @@ var kill_namespam = function(dbot) { }); switch(this.config.action) { - case kickban: + case 'kickban': dbot.api.kick.ban(event.server, event.host, event.channel); dbot.api.kick.kick(event.server, event.user, message); break; - case kill: + case 'kill': dbot.api.kick.kill(event.server, event.user, message); default: break; }