Closed tudborg closed 10 years ago
The log you posted uses irc-connect-test
which does not appear to be a registered user of freenode. When you use a registered name, you get a NOTICE response asking for credentials- which the nick
plugin will then send with the supplied password.
LMK if I understood this wrong.
Ah, sorry. My bad.
What confused me, was the fact that i didn't get an error when using an unregistered nick.
It never occurred to me that the nick
event should be considered a success event for the nick()
call, and that i that i don't necessarily need to authenticate with NickServ, to call nick.
Obviously, the identified
event means "nick authenticated with NickServ".
Thanks.
I have repaired this behavior in PR #5. It also was very unexpected in my case (private ircd with no NickServ or bells and whistles). Now if you want to register with a NickServ you can use client.identify(nick,pass)
while the client.nick(nick)
works as expected (only cares about the server NICK
message).
Replicate via example in README.md, or this;
It seems like freenode is skipping a
NOTICE
after we send aNICK
. ANOTICE
is sent from freenode, only when an error occurs, otherwise, i just receive aNICK
back, telling me my nick changed.Here is the debug output, (excluding most of the motd)