diff --git a/modules/kick/commands.js b/modules/kick/commands.js index aeb23c6..2e2fd13 100644 --- a/modules/kick/commands.js +++ b/modules/kick/commands.js @@ -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) {