Browse Source

ratify SETNAME

tags/v2.1.0-rc1
Shivaram Lingamneni 4 years ago
parent
commit
2257f33efa
2 changed files with 8 additions and 8 deletions
  1. 3
    3
      gencapdefs.py
  2. 5
    5
      irc/caps/defs.go

+ 3
- 3
gencapdefs.py View File

@@ -119,9 +119,9 @@ CAPDEFS = [
119 119
     ),
120 120
     CapDef(
121 121
         identifier="SetName",
122
-        name="draft/setname",
123
-        url="https://github.com/ircv3/ircv3-specifications/pull/361",
124
-        standard="proposed IRCv3",
122
+        name="setname",
123
+        url="https://ircv3.net/specs/extensions/setname.html",
124
+        standard="IRCv3",
125 125
     ),
126 126
     CapDef(
127 127
         identifier="STS",

+ 5
- 5
irc/caps/defs.go View File

@@ -61,10 +61,6 @@ const (
61 61
 	// https://github.com/DanielOaks/ircv3-specifications/blob/master+resume/extensions/resume.md
62 62
 	Resume Capability = iota
63 63
 
64
-	// SetName is the proposed IRCv3 capability named "draft/setname":
65
-	// https://github.com/ircv3/ircv3-specifications/pull/361
66
-	SetName Capability = iota
67
-
68 64
 	// EchoMessage is the IRCv3 capability named "echo-message":
69 65
 	// https://ircv3.net/specs/extensions/echo-message-3.2.html
70 66
 	EchoMessage Capability = iota
@@ -101,6 +97,10 @@ const (
101 97
 	// https://ircv3.net/specs/extensions/server-time-3.2.html
102 98
 	ServerTime Capability = iota
103 99
 
100
+	// SetName is the IRCv3 capability named "setname":
101
+	// https://ircv3.net/specs/extensions/setname.html
102
+	SetName Capability = iota
103
+
104 104
 	// STS is the IRCv3 capability named "sts":
105 105
 	// https://ircv3.net/specs/extensions/sts.html
106 106
 	STS Capability = iota
@@ -133,7 +133,6 @@ var (
133 133
 		"draft/multiline",
134 134
 		"draft/rename",
135 135
 		"draft/resume-0.5",
136
-		"draft/setname",
137 136
 		"echo-message",
138 137
 		"extended-join",
139 138
 		"invite-notify",
@@ -143,6 +142,7 @@ var (
143 142
 		"oragono.io/nope",
144 143
 		"sasl",
145 144
 		"server-time",
145
+		"setname",
146 146
 		"sts",
147 147
 		"userhost-in-names",
148 148
 		"znc.in/playback",

Loading…
Cancel
Save