Closed jsyrjala closed 13 years ago
Good catch, I'll have to test it out.
Maybe there is a way to detect this without the extra option?
We could remove the option altogether, the client would always initiate the login right after connect. Would that cause problems with some servers?
I see no way to auto-detect this server behaviour, except to wait few seconds after connect, and initiate login if server hasn't said anything. But then again, if server says something, the IRC-js initiates login anyway.
I will make pull request for you where the client always sends login commands on connect
Fixed in bfa34db4c9406790692135d3b3f0ce5b8618421f
Connecting to ngIRCd does not work because of the following:
I think that the correct behavior for the client is to send login commands right after connect, and not to wait for any data from the server. At least that is how clients like http://irssi.org/ do it.