Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify LINKS #175

Merged
merged 5 commits into from
Apr 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
16 changes: 16 additions & 0 deletions _includes/messages/optional.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,22 @@ Numeric Replies:
* {% numeric RPL_UNAWAY %}
* {% numeric RPL_NOWAWAY %}

### LINKS message

Command: LINKS
Parameters: None

With LINKS, a user can list all servers which are known by the server answering the query, usually including the server itself.

In replying to the LINKS message, a server MUST send replies back using zero or more {% numeric RPL_LINKS %} messages and mark the end of the list using a {% numeric RPL_ENDOFLINKS %} message.

Servers MAY omit some or all servers on the network, including itself.

Numeric Replies:

* {% numeric RPL_LINKS %}
* {% numeric RPL_ENDOFLINKS %}

### USERHOST message

Command: USERHOST
Expand Down
14 changes: 14 additions & 0 deletions _includes/modern-appendix.md
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,20 @@ Sent as a reply to the {% message NAMES %} command, this numeric lists the clien

Sent as a reply to the {% message NAMES %} command, this numeric specifies the end of a list of channel member names.

{% numericheader RPL_LINKS %}

"<client> * <server> :<hopcount> <server info>"

Sent as a reply to the {% message LINKS %} command, this numeric specifies one of the known servers on the network.

`<server info>` is a string containing a description of that server.

{% numericheader RPL_ENDOFLINKS %}

"<client> * :End of /LINKS list"

Sent as a reply to the {% message LINKS %} command, this numeric specifies the end of a list of channel member names.

{% numericheader RPL_BANLIST %}

"<client> <channel> <mask> [<who> <set-ts>]"
Expand Down