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,
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("bar")

View File

@ -21,7 +21,7 @@ class KickTestCase(cases.BaseServerTestCase):
"If a comment is given, this will be sent instead of the default message,
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.joinChannel(1, "#chan")
@ -102,7 +102,7 @@ class KickTestCase(cases.BaseServerTestCase):
def testKickNoComment(self):
"""
"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)
@ -184,12 +184,12 @@ class KickTestCase(cases.BaseServerTestCase):
users to clients.
This is necessary to maintain backward compatibility with existing
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
via the [`TARGMAX` parameter of `RPL_ISUPPORT`](#targmax-parameter),
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
then a client SHOULD assume that no commands except the "JOIN" and "PART"