clean up the bug with fresh whowas lookup

This commit is contained in:
reality 2018-02-28 17:42:08 +00:00
parent 329836d577
commit 3c22b811ad

View File

@ -129,7 +129,7 @@ var kick = function(dbot) {
this.hosts[server][unbanee] = manualHost;
}
if(_.has(this.hosts, server) && _.has(this.hosts[server], unbanee)) {
if(_.has(this.hosts, server) && _.has(this.hosts[server], unbanee) && _.isString(this.hosts[server][unbanee])) {
var host = this.hosts[server][unbanee];
// Notify Staff