aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Users/UserService.cs
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2024-06-02 11:10:37 -0500
committerJP Dillingham <jp@dillingham.me>2024-06-02 11:10:37 -0500
commitbd6ed779fb1de4f1388b40bf819907291d78d367 (patch)
tree654d643a003a13107f1e72da121f9273726f2bdb /src/slskd/Users/UserService.cs
parentd116c0edfb56ddc3483eefaeb8cf9dd97573775d (diff)
downloadslskd-bd6ed779fb1de4f1388b40bf819907291d78d367.tar.gz
fix typos
Diffstat (limited to 'src/slskd/Users/UserService.cs')
-rw-r--r--src/slskd/Users/UserService.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/slskd/Users/UserService.cs b/src/slskd/Users/UserService.cs
index e278ccc7..97ea1484 100644
--- a/src/slskd/Users/UserService.cs
+++ b/src/slskd/Users/UserService.cs
@@ -345,7 +345,7 @@ namespace slskd.Users
await GetStatisticsAsync(username);
// delay the add until last, so that IsWatched won't return true until stats and status are populated. this may result
- // in several unecessary calls to WatchAsync (if someone is checking IsWatched() and WatchAsync()ing if false), but we
+ // in several unnecessary calls to WatchAsync (if someone is checking IsWatched() and WatchAsync()ing if false), but we
// can be sure that if IsWatched() is true, we have valid stats and status. if we can't ensure this, the application
// will have non-deterministic behavior when it makes decisions about user groups, limits, governance etc.
WatchedUsernamesDictionary.TryAdd(username, true);
@@ -368,7 +368,7 @@ namespace slskd.Users
if (optionsHash != LastOptionsHash || force)
{
- // get a list of tracked names that haven't been explicitly added to any group, including those that were previlously
+ // get a list of tracked names that haven't been explicitly added to any group, including those that were previously
// configured but have now been removed
var usernamesBeforeUpdate = UserDictionary.Keys.ToList();
var usernamesAfterUpdate = options.Groups.UserDefined.SelectMany(g => g.Value.Members);