XChat following RFC 2812

Development of XChat itself. Talk about code, patches and other technical stuff. No feature requests!
Formal bug reports should go to http://xchat.org/cvs/#bugs instead.
This forum is for developers writing xchat code, not end-user questions.

XChat following RFC 2812

Postby computerquip » 20 Jun 2011 02:12

I had a small discussion (more like statement rather than discussion) about the USER command on IRC. Looking at the packets sent from Xchat, the USER command seems to follow RFC 1459 - http://tools.ietf.org/html/rfc1459#section-4.1.3.

Connecting to irc.freenode.net used the following command without quotations: "USER MasterCQ MasterCQ irc.freenode.net :MasterCQ"

According to RFC 2812, the third argument of the USER command is "unused" while the second parameter is now a bitmask related to usermodes. This can be referenced here: http://tools.ietf.org/html/rfc2812#section-3.1.3

The original question on IRC was what RFC should I follow as I was creating a basic IRC library for myself. I was told by protospork (on IRC) that you would generally follow the more recent revision of the standard (which is 2812). Am I misreading the more recent standard? Am I wrong on any of this maybe?
computerquip
 
Posts: 1
Joined: 20 Jun 2011 02:03

Re: XChat following RFC 2812

Postby protospork » 25 Jun 2011 08:41

My response in IRC was based on the fact that 2812 "updates" 1459. I assumed it would make more sense to follow the updated version, but I have absolutely no idea whether 2812's event style is actually supported by anything, if any clients use it, etc. - I probably should have told you to ask an actual xchat person or track down some ircd devs and ask how/if they deal with the two styles. I'm just some guy.
protospork
 
Posts: 12
Joined: 30 Nov 2008 22:44


Return to Development

Who is online

Users browsing this forum: No registered users and 2 guests