forked from GitHub/dbot
clean up the bug with fresh whowas lookup
This commit is contained in:
parent
329836d577
commit
3c22b811ad
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user