invite & kick: update links to Modern

This commit is contained in:
Valentin Lorentz 2021-08-26 21:15:57 +02:00
parent 44ce324c7c
commit 6106fc3b98
2 changed files with 6 additions and 6 deletions

View File

@ -390,7 +390,7 @@ class InviteTestCase(cases.BaseServerTestCase):
""" """
"If the user is already on the target channel, "If the user is already on the target channel,
the server MUST reject the command with the `ERR_USERONCHANNEL` numeric." the server MUST reject the command with the `ERR_USERONCHANNEL` numeric."
-- https://github.com/ircdocs/modern-irc/pull/80 -- https://modern.ircdocs.horse/#invite-message
""" """
self.connectClient("foo") self.connectClient("foo")
self.connectClient("bar") self.connectClient("bar")

View File

@ -19,9 +19,9 @@ class KickTestCase(cases.BaseServerTestCase):
-- <https://tools.ietf.org/html/rfc1459#section-4.2.1> -- <https://tools.ietf.org/html/rfc1459#section-4.2.1>
and <https://tools.ietf.org/html/rfc2812#section-3.2.1> and <https://tools.ietf.org/html/rfc2812#section-3.2.1>
" If a comment is given, this will be sent instead of the default message, "If a comment is given, this will be sent instead of the default message,
the nickname of the user targeted by the KICK." the nickname of the user targeted by the KICK."
-- https://github.com/ircdocs/modern-irc/pull/101 -- https://modern.ircdocs.horse/#kick-message
""" """
self.connectClient("foo") self.connectClient("foo")
self.joinChannel(1, "#chan") self.joinChannel(1, "#chan")
@ -102,7 +102,7 @@ class KickTestCase(cases.BaseServerTestCase):
def testKickNoComment(self): def testKickNoComment(self):
""" """
"If no comment is given, the server SHOULD use a default message instead." "If no comment is given, the server SHOULD use a default message instead."
-- https://github.com/ircdocs/modern-irc/pull/101 -- https://modern.ircdocs.horse/#kick-message
""" """
self._testKickNoComment(check_default=False) self._testKickNoComment(check_default=False)
@ -184,12 +184,12 @@ class KickTestCase(cases.BaseServerTestCase):
users to clients. users to clients.
This is necessary to maintain backward compatibility with existing This is necessary to maintain backward compatibility with existing
client software." client software."
-- https://github.com/ircdocs/modern-irc/pull/101 -- https://modern.ircdocs.horse/#kick-message
"Servers MAY limit the number of target users per `KICK` command "Servers MAY limit the number of target users per `KICK` command
via the [`TARGMAX` parameter of `RPL_ISUPPORT`](#targmax-parameter), via the [`TARGMAX` parameter of `RPL_ISUPPORT`](#targmax-parameter),
and silently drop targets if the number of targets exceeds the limit." and silently drop targets if the number of targets exceeds the limit."
-- https://github.com/ircdocs/modern-irc/pull/101 -- https://modern.ircdocs.horse/#kick-message
"If the "TARGMAX" parameter is not advertised or a value is not sent "If the "TARGMAX" parameter is not advertised or a value is not sent
then a client SHOULD assume that no commands except the "JOIN" and "PART" then a client SHOULD assume that no commands except the "JOIN" and "PART"