mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 06:19:24 +01:00
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;
|
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];
|
var host = this.hosts[server][unbanee];
|
||||||
|
|
||||||
// Notify Staff
|
// Notify Staff
|
||||||
|
Loading…
Reference in New Issue
Block a user