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"]}
If I connect and set automatically join channels:
...it works great, but if I do this:
I get the following error:
What is different on both operations?