aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-04-21 19:28:35 -0500
committerJP Dillingham <jp@dillingham.me>2026-04-21 19:28:35 -0500
commit73634ad0b54d486cc278c4950583754ad77aac00 (patch)
treeaa023ca318f9622a4376e5ea5ef18c8db3d8823b /src
parent795a78e441e28988bed629a0dc61874f760b43cd (diff)
downloadslskd-73634ad0b54d486cc278c4950583754ad77aac00.tar.gz
consistent options
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Core/Options.cs5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/slskd/Core/Options.cs b/src/slskd/Core/Options.cs
index dda1b7b5..fcc65c3b 100644
--- a/src/slskd/Core/Options.cs
+++ b/src/slskd/Core/Options.cs
@@ -1151,9 +1151,6 @@ namespace slskd
/// <summary>
/// Gets the list of regular expression patterns matched against usernames.
- /// Any username matching one or more patterns will be blacklisted.
- /// Follows the same case sensitivity rules as other user-defined regular expressions
- /// (case insensitive by default; controlled by the <c>flags.case_sensitive_regex</c> option).
/// </summary>
public string[] Patterns { get; init; } = Array.Empty<string>();
@@ -1175,7 +1172,7 @@ namespace slskd
{
if (!pattern.IsValidRegex())
{
- results.Add(new ValidationResult($"Blacklist username pattern '{pattern}' is not a valid regular expression"));
+ results.Add(new ValidationResult($"Pattern '{pattern}' is not a valid regular expression"));
}
}