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

I can connect to channels only on connect #536

Open
enriquemorenotent opened this issue Jul 5, 2018 · 1 comment
Open

I can connect to channels only on connect #536

enriquemorenotent opened this issue Jul 5, 2018 · 1 comment

Comments

@enriquemorenotent
Copy link

If I connect and set automatically join channels:

let client = new irc.Client("someserver", "somenick", { channels: ["#somechannel"]})

...it works great, but if I do this:

let client = new irc.Client("someserver", "somenick", {})
client.join("#somechannel")

I get the following error:

"Error: {"prefix":"verne.freenode.net","server":"verne.freenode.net","command":"err_notregistered","rawCommand":"451","commandType":"error","args":["*","You have not registered"]}

What is different on both operations?

@Booster2ooo
Copy link

Booster2ooo commented Aug 16, 2019

As the errror states (err_notregistered), you need to wait for the registered event before joining the channel(s).

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