aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Options.cs
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2022-02-25 09:47:06 -0600
committerGitHub <noreply@github.com>2022-02-25 09:47:06 -0600
commit8c7861a0dfc2fd25379e03e1f23b4ae561206fc3 (patch)
tree6a3ae3d3cb2cc7d68f81a4cdd82d76f31516d0af /src/slskd/Options.cs
parentda7589fb77be63657b69209386743a008b2ae3d3 (diff)
parent38bb2f3a021120963be657cf2b363b25bfaa4043 (diff)
downloadslskd-8c7861a0dfc2fd25379e03e1f23b4ae561206fc3.tar.gz
Merge pull request #364 from slskd/privileges
Identify privileged users
Diffstat (limited to 'src/slskd/Options.cs')
-rw-r--r--src/slskd/Options.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/slskd/Options.cs b/src/slskd/Options.cs
index 2313ce69..5bebeb68 100644
--- a/src/slskd/Options.cs
+++ b/src/slskd/Options.cs
@@ -467,7 +467,7 @@ namespace slskd
/// Gets options for the default user group.
/// </summary>
/// <remarks>
- /// These options apply to users that are not priviledged, have not been identified as leechers,
+ /// These options apply to users that are not privileged, have not been identified as leechers,
/// and have not been added as a member of any group.
/// </remarks>
[Validate]
@@ -495,7 +495,7 @@ namespace slskd
/// <returns></returns>
public IEnumerable<ValidationResult> Validate(ValidationContext validationContext)
{
- var builtInGroups = new[] { Application.PriviledgedGroup, Application.DefaultGroup, Application.LeecherGroup };
+ var builtInGroups = new[] { Application.PrivilegedGroup, Application.DefaultGroup, Application.LeecherGroup };
var intersection = UserDefined.Keys.Intersect(builtInGroups);
return intersection.Select(group => new ValidationResult($"User defined group '{group}' collides with a built in group. Choose a different name."));