aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Options.cs
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2022-02-19 13:07:24 -0600
committerJP Dillingham <jpdillingham@gmail.com>2022-02-19 13:07:24 -0600
commit854f3155f1d77907e77573ecfa7e836b0ae202ae (patch)
tree58974076844f0e182472ec26649467fbb44fcfd9 /src/slskd/Options.cs
parentbc204e74f45e345abf1dd5f5d187900660f5684d (diff)
downloadslskd-854f3155f1d77907e77573ecfa7e836b0ae202ae.tar.gz
fix spelling
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."));