aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Users
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2024-06-02 15:06:41 -0500
committerGitHub <noreply@github.com>2024-06-02 15:06:41 -0500
commit6fd5e36e367c7d8fbeac7662dacb24f8497931c2 (patch)
tree1b6c017ee955a0081a92e4934540041601c1596e /src/slskd/Users
parenta783e181982dd8c435bb51345a8528a65a4304ac (diff)
parentec31fd53e8cf91adbeae6bb20958e9c8ef85e56c (diff)
downloadslskd-6fd5e36e367c7d8fbeac7662dacb24f8497931c2.tar.gz
Merge branch 'master' into master
Diffstat (limited to 'src/slskd/Users')
-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);