diff options
| author | JP Dillingham <jp@dillingham.me> | 2026-03-15 18:46:38 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2026-03-15 18:46:38 -0500 |
| commit | c6d5d8eb687d0256293e0b4406716713d3a6b148 (patch) | |
| tree | 0e6c6c0e0545cfacbc9a334bfba5e0443766f5c0 /src/slskd/Integrations/Scripts/ScriptService.cs | |
| parent | 4f511b1946953d2229f5ebb6fcb0ba47358d4db7 (diff) | |
| parent | 92c5d4c6b30075451a0a85e28981e794964c48d1 (diff) | |
| download | slskd-c6d5d8eb687d0256293e0b4406716713d3a6b148.tar.gz | |
Merge remote-tracking branch 'origin/master' into retries
Diffstat (limited to 'src/slskd/Integrations/Scripts/ScriptService.cs')
| -rw-r--r-- | src/slskd/Integrations/Scripts/ScriptService.cs | 2 |
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) |
