From ad4b2a22ea6c992a23a9755f0cb55853bdf452cd Mon Sep 17 00:00:00 2001 From: Les De Ridder Date: Thu, 18 May 2017 20:26:29 +0200 Subject: [PATCH] Reverse order of RPL_INVITING and update readme See https://www.rfc-editor.org/errata/eid2821 for the erratum that caused this change. --- README.md | 4 ++-- source/ircd/connection.d | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d1daeee..817f786 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,8 @@ salty-ircd is an [Internet Relay Chat](https://en.wikipedia.org/wiki/Internet_Re The main goals of salty-ircd are strict RFC compliance and security. ### RFC compliance -salty-ircd aims to be fully compliant with the IRC RFCs, specifically [RFC 1459](https://tools.ietf.org/html/rfc1459), [RFC 2811](https://tools.ietf.org/html/rfc2811), [RFC 2812](https://tools.ietf.org/html/rfc2812), and [RFC 2813](https://tools.ietf.org/html/rfc2813) (planned). -Newer RFCs take precedence over older RFCs. +salty-ircd aims to be fully compliant with the IRC RFCs, specifically [RFC 1459](https://tools.ietf.org/html/rfc1459), [RFC 2811](https://tools.ietf.org/html/rfc2811), [RFC 2812](https://tools.ietf.org/html/rfc2812), and [RFC 2813](https://tools.ietf.org/html/rfc2813) (planned). +Newer RFCs take precedence over older RFCs. Errata are respected by default, with newer errata (on the same RFC) taking precedence over older errata. Any additional features breaking RFC compliance will be made available through compile-time options. diff --git a/source/ircd/connection.d b/source/ircd/connection.d index b162282..90c1192 100644 --- a/source/ircd/connection.d +++ b/source/ircd/connection.d @@ -1123,8 +1123,8 @@ Lforeach: void sendRplInviting(string channelName, string name) { - //TODO: If RFC-strictness is off, send parameters in reverse order - send(Message(_server.name, "341", [nick, channelName, name])); + //TODO: If errata are being ignored, send nick and channel name in reverse order + send(Message(_server.name, "341", [nick, name, channelName])); } void sendRplEndOfNames(string channelName)