aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Integrations/Scripts
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-03-15 18:46:38 -0500
committerJP Dillingham <jp@dillingham.me>2026-03-15 18:46:38 -0500
commitc6d5d8eb687d0256293e0b4406716713d3a6b148 (patch)
tree0e6c6c0e0545cfacbc9a334bfba5e0443766f5c0 /src/slskd/Integrations/Scripts
parent4f511b1946953d2229f5ebb6fcb0ba47358d4db7 (diff)
parent92c5d4c6b30075451a0a85e28981e794964c48d1 (diff)
downloadslskd-c6d5d8eb687d0256293e0b4406716713d3a6b148.tar.gz
Merge remote-tracking branch 'origin/master' into retries
Diffstat (limited to 'src/slskd/Integrations/Scripts')
-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)