forked from GitHub/dbot
the start of yo callback ain't a valid host
This commit is contained in:
parent
17ecf62da0
commit
3972b5272b
@ -239,7 +239,7 @@ var commands = function(dbot) {
|
||||
|
||||
'~nunban': function(event) {
|
||||
var unbanee = event.params[1],
|
||||
host = event.params[2],
|
||||
host = event.params[2] || undefined,
|
||||
unbanner = event.rUser;
|
||||
|
||||
this.api.networkUnban(event.server, unbanee, unbanner, host, function(err) {
|
||||
|
Loading…
Reference in New Issue
Block a user