Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'names' event returns only 10 nicks #414

Closed
GrantBartlett opened this issue Oct 11, 2015 · 2 comments
Closed

'names' event returns only 10 nicks #414

GrantBartlett opened this issue Oct 11, 2015 · 2 comments

Comments

@GrantBartlett
Copy link

Hi, this:
Bot.addListener('names#channel', function (nicks) { console.log(nicks); });
only returns 10 nicks, when there are at least 100+ available. Why would this be?

@ghost
Copy link

ghost commented Oct 26, 2015

Working fine for me, try:

var irc = require('irc');

var client = new irc.Client('irc.freenode.net',
  'Sabertooth', {
  channels: ['#freenode'],
  debug: false,
  userName: 'Woopie'
});

client.addListener('names#freenode', function (nicks) { 
    console.log(Object.keys(nicks).length)
}); 

@jirwin
Copy link
Collaborator

jirwin commented Mar 27, 2016

I'm unable to reproduce this. Closing this for now.

@jirwin jirwin closed this as completed Mar 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants