forked from GitHub/dbot
jawohl
This commit is contained in:
parent
6c3f3119ff
commit
b5d286b86e
@ -100,7 +100,6 @@ var commands = function(dbot) {
|
||||
}
|
||||
|
||||
dbot.api.nickserv.getUserHost(event.server, banee, function(host) {
|
||||
console.log(host);
|
||||
// Add host record entry
|
||||
if(host) {
|
||||
if(!_.has(this.hosts, event.server)) this.hosts[event.server] = {};
|
||||
|
@ -72,8 +72,9 @@ var nickserv = function(dbot) {
|
||||
|
||||
if(match[1]) match[1] = match[1].replace('\*', '');
|
||||
if(match && _.has(this.userStack, event.server) && _.has(this.userStack[event.server], match[1])) {
|
||||
var callback = this.userStack[event.server][match[1]];
|
||||
delete this.userStack[event.server][match[1]];
|
||||
this.userStack[event.server][match[1]](match[3].trim());
|
||||
callback(match[3].trim());
|
||||
}
|
||||
}
|
||||
}.bind(this);
|
||||
|
Loading…
Reference in New Issue
Block a user