From 3972b5272b33d303c5d3c63e367cac309c03bc42 Mon Sep 17 00:00:00 2001 From: Luke Slater Date: Sat, 24 Feb 2018 00:56:26 +0000 Subject: [PATCH] the start of yo callback ain't a valid host --- modules/kick/commands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {