message: Add ClientPool method for getting nick->userids in channel.
diff: @@ -248,6 +248,16 @@ ClientPool.prototype.totalReconnectsWaiting = function (serverDomain) {
  return 0;
  }
  +ClientPool.prototype.getNickUserIdMappingForChannel = function(server, channel) {
  + const nickUserIdMap = {};
  + Object.keys(this._virtualClients[server.domain].userIds).filter((userId) =>
  + this._virtualClients[server.domain][userId].chanList.includes(channel)
  + ).forEach((userId) => {
  + nickUserIdMap[this._virtualClients[server.domain][userId].nick] = userId;
  + });
  + return nickUserIdMap;
  +};
  +
  ClientPool.prototype._sendConnectionMetric = function(server) {
  stats.ircClients(server.domain, this._getNumberOfConnections(server));
  };
  