mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 06:00:46 +00:00
Support case insensitivity for ASF matching
This commit is contained in:
@@ -737,7 +737,7 @@ namespace ArchiSteamFarm {
|
|||||||
|
|
||||||
HashSet<Bot> result = new HashSet<Bot>();
|
HashSet<Bot> result = new HashSet<Bot>();
|
||||||
foreach (string botName in botNames.Where(botName => !string.IsNullOrEmpty(botName))) {
|
foreach (string botName in botNames.Where(botName => !string.IsNullOrEmpty(botName))) {
|
||||||
if (botName.Equals(SharedInfo.ASF)) {
|
if (botName.Equals(SharedInfo.ASF, StringComparison.OrdinalIgnoreCase)) {
|
||||||
foreach (Bot bot in Bots.OrderBy(bot => bot.Key).Select(bot => bot.Value)) {
|
foreach (Bot bot in Bots.OrderBy(bot => bot.Key).Select(bot => bot.Value)) {
|
||||||
result.Add(bot);
|
result.Add(bot);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user