forked from GitHub/dbot
missing server clause in send
This commit is contained in:
parent
3e2f96fb11
commit
58786672fd
@ -15,7 +15,7 @@ var nickserv = function(dbot) {
|
||||
'getUserHost': function(server, nick, callback) {
|
||||
if(!_.has(this.userStack, server)) this.userStack[server] = {};
|
||||
this.userStack[server][nick] = callback;
|
||||
dbot.instance.connections.send('USERHOST ' + nick);
|
||||
dbot.instance.connections[server].send('USERHOST ' + nick);
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user