From 6106fc3b98503a90c6085c28f700a18398f85b1b Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Thu, 26 Aug 2021 21:15:57 +0200 Subject: [PATCH] invite & kick: update links to Modern --- irctest/server_tests/invite.py | 2 +- irctest/server_tests/kick.py | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/irctest/server_tests/invite.py b/irctest/server_tests/invite.py index ed572c0..9e70883 100644 --- a/irctest/server_tests/invite.py +++ b/irctest/server_tests/invite.py @@ -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") diff --git a/irctest/server_tests/kick.py b/irctest/server_tests/kick.py index e8d9430..bf81ea8 100644 --- a/irctest/server_tests/kick.py +++ b/irctest/server_tests/kick.py @@ -19,9 +19,9 @@ class KickTestCase(cases.BaseServerTestCase): -- and - " 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." - -- 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"