3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-23 12:29:26 +01:00

the start of yo callback ain't a valid host

This commit is contained in:
Luke Slater 2018-02-24 00:56:26 +00:00 committed by GitHub
parent 17ecf62da0
commit 3972b5272b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -239,7 +239,7 @@ var commands = function(dbot) {
'~nunban': function(event) { '~nunban': function(event) {
var unbanee = event.params[1], var unbanee = event.params[1],
host = event.params[2], host = event.params[2] || undefined,
unbanner = event.rUser; unbanner = event.rUser;
this.api.networkUnban(event.server, unbanee, unbanner, host, function(err) { this.api.networkUnban(event.server, unbanee, unbanner, host, function(err) {