From 58786672fdf27ac2b382194c00f5b4b0cf087544 Mon Sep 17 00:00:00 2001 From: reality Date: Sun, 9 Jun 2013 16:06:58 +0000 Subject: [PATCH] missing server clause in send --- modules/nickserv/nickserv.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/nickserv/nickserv.js b/modules/nickserv/nickserv.js index 5b6ca5a..4c508bd 100644 --- a/modules/nickserv/nickserv.js +++ b/modules/nickserv/nickserv.js @@ -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); } };