@@ -40,6 +40,12 @@ be in use by server implementations to varying degrees. However, future
4040extensions to the specification might be proposed given a broad enough
4141consensus.
4242
43+ ## Architecture
44+
45+ ### Dependencies
46+
47+ This specification uses [ standard replies] [ ] framework.
48+
4349### Capability
4450
4551This specification adds the ` draft/account-registration ` capability, whose
@@ -183,9 +189,9 @@ Sent by the server in response to the end of connection registration (e.g.
183189to ` USER ` , ` NICK ` , or ` CAP END ` ) if connection registration cannot proceed
184190unless the user logs into an account with SASL.
185191
186- # Examples
192+ ## Examples
187193
188- ## While connected
194+ ### While connected
189195
190196A client with nick ` tester ` requests registration of an account named ` test ` :
191197
@@ -202,7 +208,7 @@ The client then inputs the code sent by the server:
202208 C: VERIFY test 39gvcdg4myvnmdcfhvd6exsv4n
203209 S: VERIFY SUCCESS test :Account successfully registered
204210
205- ## ` before-connect `
211+ ### ` before-connect `
206212
207213A client connects and asks to register an account named after its current nick:
208214
@@ -228,7 +234,7 @@ The client can then proceed with the connection:
228234 S: 001 tester :Welcome to the IRC network
229235 ...
230236
231- ## With no email or verification
237+ ### With no email or verification
232238
233239 C: CAP LS 302
234240 S: CAP * LS :draft/account-registration=before-connect
@@ -238,7 +244,7 @@ The client can then proceed with the connection:
238244 C: REGISTER * * hunter2
239245 S: REGISTER SUCCESS tester :Account successfully registered
240246
241- ## With ` email-required ` , but not verified
247+ ### With ` email-required ` , but not verified
242248
243249 C: CAP LS 302
244250 S: CAP * LS :draft/account-registration=before-connect,email-required
@@ -248,7 +254,7 @@ The client can then proceed with the connection:
248254 C: REGISTER * [email protected] hunter2 249255 S: REGISTER SUCCESS tester :Account successfully registered
250256
251- # Client considerations
257+ ## Client considerations
252258
253259This section is non-normative.
254260
@@ -262,7 +268,7 @@ prevent or discourage users from setting passwords so long they may not fit
262268in these messages. 300 bytes should be a safe reasonable limit.
263269
264270
265- # Server considerations
271+ ## Server considerations
266272
267273This section is non-normative.
268274
@@ -278,3 +284,5 @@ Servers should ensure that if they allow REGISTER before connection registration
278284this functionality cannot be used to bypass any authentication restrictions
279285defined in the server configuration, e.g. requirements that clients send
280286a server password with PASS.
287+
288+ [ standard replies ] : ../extensions/standard-replies.html
0 commit comments