From 981306668a27719d70a9ce1f1cf68fae3652f1cc Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Fri, 1 Apr 2022 18:22:17 +0200 Subject: [PATCH] Update link to the draft/account-registration spec --- README.md | 2 +- irc_register.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 92966f4..b2a4c12 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ This is a basic still WIP framework for registering an account on an ircd using ## Features -- It relies on the WIP IRCv3.2 spec [draft/account-registration](https://github.com/ProgVal/ircv3-specifications/blob/register/extensions/account-registration.md) +- It relies on the draft IRCv3 spec [draft/account-registration](https://ircv3.net/specs/extensions/account-registration.html) - It utilizes the flask framework and `WEBIRC` to relay remote host ip address. - Can be tweaked to allow registration attempts from exit-nodes and other unsavory hosts allowing them to securely work with the `require-sasl` constraint if needed. diff --git a/irc_register.py b/irc_register.py index 072d851..ce0379a 100644 --- a/irc_register.py +++ b/irc_register.py @@ -42,7 +42,7 @@ def ircregister(userip, username, password, email="*"): # but if the server responds with the corresponding FAIL we # need to try again. We can also handle email-required using # the same keys. How to access these key-value pairs? - # reference: https://github.com/ProgVal/ircv3-specifications/blob/register/extensions/account-registration.md#commands + # reference: https://ircv3.net/specs/extensions/account-registration.html # NICK and USER _send(irctokens.build("USER", ["u", "0", "*", username])) @@ -73,4 +73,4 @@ def ircregister(userip, username, password, email="*"): if line.command == "REGISTER" and ("SUCCESS" in line.params): to_send = irctokens.build("QUIT") _send(to_send) - return "SUCCESS" \ No newline at end of file + return "SUCCESS"