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

Fix RPL_LINKS param list, and provide an example #245

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

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

Reply Example:

:My.Little.Server 364 nick services.example.org My.Little.Server :1 Anope IRC Services
:My.Little.Server 364 nick My.Little.Server My.Little.Server :0 test server
:My.Little.Server 365 nick * :End of /LINKS list.

### USERHOST message

Command: USERHOST
Expand Down
5 changes: 3 additions & 2 deletions _includes/modern-appendix.md
Original file line number Diff line number Diff line change
Expand Up @@ -677,9 +677,10 @@ Sent as a reply to the {% message NAMES %} command, this numeric lists the clien

{% numericheader RPL_LINKS %}

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

Sent as a reply to the {% message LINKS %} command, this numeric specifies one of the known servers on the network.
Sent as a reply to the {% message LINKS %} command, this numeric specifies servers `<server1>` and `<server2>` are linked together.
For servers which follow a spanning tree topology, `<server2>` is the closest to the client.

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

Expand Down