Browse Source

fix #922

tags/v2.1.0-rc1
Shivaram Lingamneni 4 years ago
parent
commit
46f68d4cf2
1 changed files with 5 additions and 5 deletions
  1. 5
    5
      irc/nickserv.go

+ 5
- 5
irc/nickserv.go View File

@@ -64,7 +64,7 @@ DROP de-links the given (or your current) nickname from your user account.`,
64 64
 ENFORCE is an alias for $bGET enforce$b and $bSET enforce$b. See the help
65 65
 entry for $bSET$b for more information.`,
66 66
 			authRequired: true,
67
-			enabled:      servCmdRequiresAccreg,
67
+			enabled:      servCmdRequiresNickRes,
68 68
 		},
69 69
 		"ghost": {
70 70
 			handler: nsGhostHandler,
@@ -210,7 +210,7 @@ GET queries the current values of your account settings. For more information
210 210
 on the settings and their possible values, see HELP SET.`,
211 211
 			helpShort:    `$bGET$b queries the current values of your account settings`,
212 212
 			authRequired: true,
213
-			enabled:      servCmdRequiresAccreg,
213
+			enabled:      servCmdRequiresAuthEnabled,
214 214
 			minParams:    1,
215 215
 		},
216 216
 		"saget": {
@@ -220,7 +220,7 @@ on the settings and their possible values, see HELP SET.`,
220 220
 SAGET queries the values of someone else's account settings. For more
221 221
 information on the settings and their possible values, see HELP SET.`,
222 222
 			helpShort: `$bSAGET$b queries the current values of another user's account settings`,
223
-			enabled:   servCmdRequiresAccreg,
223
+			enabled:   servCmdRequiresAuthEnabled,
224 224
 			minParams: 2,
225 225
 			capabs:    []string{"accreg"},
226 226
 		},
@@ -279,7 +279,7 @@ how the history of your direct messages is stored. Your options are:
279 279
 4. 'default'    [use the server default]`,
280 280
 			},
281 281
 			authRequired: true,
282
-			enabled:      servCmdRequiresAccreg,
282
+			enabled:      servCmdRequiresAuthEnabled,
283 283
 			minParams:    2,
284 284
 		},
285 285
 		"saset": {
@@ -289,7 +289,7 @@ how the history of your direct messages is stored. Your options are:
289 289
 SASET modifies the values of someone else's account settings. For more
290 290
 information on the settings and their possible values, see HELP SET.`,
291 291
 			helpShort: `$bSASET$b modifies another user's account settings`,
292
-			enabled:   servCmdRequiresAccreg,
292
+			enabled:   servCmdRequiresAuthEnabled,
293 293
 			minParams: 3,
294 294
 			capabs:    []string{"accreg"},
295 295
 		},

Loading…
Cancel
Save