Skip to content

Distinguishing servernames from bare nicknames in source prefixes #227

@jwodder

Description

@jwodder

If a client receives a message whose source does not contain either ! or @, are there any rules that could be included in this spec for determining whether the source is a servername versus just a "bare" nickname?

  • I assume that servernames are supposed to be internet hosts (i.e., a domain name or IP address), but, as far as I'm aware, there's no rule against a nickname also being a valid host (though https://modern.ircdocs.horse/#clients states that nicknames "SHOULD NOT contain any dot character").

  • At first, I thought that servername prefixes are supposed to always equal the name of the server that the client is connected to, and that they remain the same throughout a connection, but this would make servername prefixes pretty much superfluous, and the statement that "The source indicates the true origin of a message" somewhat suggests that a source could be the name of another server in the network.

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