Skip to content

draft/account-registration: should all responses use standard-replies? #542

@vanosg

Description

@vanosg

This may or may not be an ergo-specific implementation concern, but I don't see anything specifically addressing this in the account-registration spec so figured I'd throw it out to the crowd for opinions.

Per the spec,

Dependencies
This specification uses standard replies framework.

However, on ergo, if you dork up the syntax for account-registration by giving too few arguments (ie, sending only "REGISTER foo", you get a 461 ERR_NEEDMOREPARAMS back. On an Unrealircd 6.1.5 implementation, the same command results in a standard-replies FAIL message being returned

Since standard-replies is still new, I'd be curious on what the intended 'precedence' is for handling errors from account-registration. If the spec dictates standard-replies, should everything be tracked through it? Or does that allow for an existing numeric that fits to still be used instead? Bottom line... should "using the standard-replies framework" be used for every message or not?

As I always favor explicitness in docs whenever possible, if the right answer is to put everything related to account-registration through standard-replies, I would be happy to suggest a note somewhere in that spec (or in standard-replies itself) providing implementation guidance to eliminate any ambiguity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions