Update link to the draft/account-registration spec #3

Merged
pratyush merged 1 commits from val/ircWebRegistration:update-spec-link into master 2022-04-01 20:57:27 +02:00
2 changed files with 3 additions and 3 deletions

View File

@ -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.

View File

@ -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"
return "SUCCESS"