aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Integrations/Scripts/ScriptService.cs
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-03-15 18:01:53 -0500
committerGitHub <noreply@github.com>2026-03-15 18:01:53 -0500
commit92c5d4c6b30075451a0a85e28981e794964c48d1 (patch)
tree1e558bb6b115bd11136981b280c1be23e1151132 /src/slskd/Integrations/Scripts/ScriptService.cs
parent032d9a3513642b85379c6b33a479cb7e0a5adc22 (diff)
parent81ad3c08618eed605c0d2e89cfee1d9d4d696490 (diff)
downloadslskd-92c5d4c6b30075451a0a85e28981e794964c48d1.tar.gz
Merge pull request #1672 from slskd/options
BREAKING: Move all transfer options under a 'transfers' key
Diffstat (limited to 'src/slskd/Integrations/Scripts/ScriptService.cs')
-rw-r--r--src/slskd/Integrations/Scripts/ScriptService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slskd/Integrations/Scripts/ScriptService.cs b/src/slskd/Integrations/Scripts/ScriptService.cs
index f5cc4d4c..9b47afe7 100644
--- a/src/slskd/Integrations/Scripts/ScriptService.cs
+++ b/src/slskd/Integrations/Scripts/ScriptService.cs
@@ -88,7 +88,7 @@ public class ScriptService
bool EqualsLiterallyAnyEvent(string type) => type.Equals(EventType.Any.ToString(), StringComparison.OrdinalIgnoreCase);
var options = OptionsMonitor.CurrentValue;
- var scriptsTriggeredByThisEventType = options.Integration.Scripts
+ var scriptsTriggeredByThisEventType = options.Integrations.Scripts
.Where(kvp => kvp.Value.On.Any(EqualsThisEvent) || kvp.Value.On.Any(EqualsLiterallyAnyEvent));
foreach (var script in scriptsTriggeredByThisEventType)