You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This library isn't a full featured or debugged irc server/client (and I haven't worked on it in about 5 years). If you're interested in working on it, I think the problem will be with your client not sending a NICK command in the way that the library expects. A transcript of the commands your client sends would help a lot. The code is expecting a nick command around here https://github.com/archaelus/erlirc/blob/master/src/irc_s2c_fsm.erl#L89 , but it's getting something else and giving up. Possibly there's a setting in your client you can change, or it may be that the server-to-client fsm is too strict in the sequence of messages it requires.
My guess would be the order and sensitivity, xchat sends "cap ls", which I don't remember seeing in your code. I'll play around and see if I can figure it out
I got it running on Debian, and I can connect with a telnet session, and it seems to be working fine.
Then I try to connect using xchat, since it's supposed to be an irc server, and the server crashes.
** Reason for termination =
** {function_clause,[{irc_s2c_fsm,csend,
[<0.152.0>,err_nonicknamegiven],
[{file,"src/irc_s2c_fsm.erl"},{line,316}]},
{irc_s2c_fsm,login_nick,2,
[{file,"src/irc_s2c_fsm.erl"},{line,111}]},
{gen_fsm,handle_msg,7,[{file,"gen_fsm.erl"},{line,494}]},
{proc_lib,init_p_do_apply,3,
[{file,"proc_lib.erl"},{line,227}]}]}
The text was updated successfully, but these errors were encountered: