diff --git a/MeetingBar/ActionsOnEventStart.swift b/MeetingBar/ActionsOnEventStart.swift index 43d03e4a..76b8f208 100644 --- a/MeetingBar/ActionsOnEventStart.swift +++ b/MeetingBar/ActionsOnEventStart.swift @@ -35,7 +35,7 @@ class ActionsOnEventStart: NSObject { // Only run if the user has activated it. let autoJoinActionActive = Defaults[.automaticEventJoin] - let runEventStartScriptActionActive = Defaults[.runEventStartScript] && (Defaults[.joinEventScriptLocation] != nil) + let runEventStartScriptActionActive = Defaults[.runEventStartScript] && (Defaults[.eventStartScriptLocation] != nil) if !autoJoinActionActive, !runEventStartScriptActionActive { return