mirror of
https://github.com/reality/dbot.git
synced 2024-12-25 12:12:35 +01:00
more syntax
This commit is contained in:
parent
58256a8f62
commit
3b6dd18611
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user