aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Users
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2024-06-18 07:50:58 -0500
committerGitHub <noreply@github.com>2024-06-18 07:50:58 -0500
commit6d8aa0fcb9cbfe22309139fe9e8b9f86027352e8 (patch)
tree5a9fc027f35af593fb5c1168bfbeaeec24acdaf3 /src/slskd/Users
parent6e77c4f214c9d8a258c1e39c465cc63fc1912850 (diff)
parent2c45386bfa4ad1a8a9dd5cf5793ee895ec0aeeaa (diff)
downloadslskd-6d8aa0fcb9cbfe22309139fe9e8b9f86027352e8.tar.gz
Merge branch 'colors' into feat/config-console-log-colour
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);