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:
parent
17ecf62da0
commit
3972b5272b
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user