diff --git a/channel.js b/channel.js index 555fcdaf..cd40d2f3 100644 --- a/channel.js +++ b/channel.js @@ -502,7 +502,7 @@ Channel.prototype.tryUnban = function(actor, data) { var ip = this.hideIP(data.ip_hidden); this.unbanIP(actor, ip); } - else if(data.name) { + if(data.name) { this.unbanName(actor, data.name); } } diff --git a/www/assets/js/callbacks.js b/www/assets/js/callbacks.js index b5e838a5..261b2c1d 100644 --- a/www/assets/js/callbacks.js +++ b/www/assets/js/callbacks.js @@ -341,9 +341,9 @@ Callbacks = { var aliases = $("