diff --git a/src/Services/EventActionService.cpp b/src/Services/EventActionService.cpp
index edac07a93ab3cd0f5ba070421e72d6cd5c01e10f..004e9694e706c20eaa24f11708e481caf13a4796 100644
--- a/src/Services/EventActionService.cpp
+++ b/src/Services/EventActionService.cpp
@@ -138,7 +138,7 @@ void EventActionService::disableEventActionFunction(Message message) {
 
 void EventActionService::executeAction() {
 	// Custom function
-	if (enabledFunction) {
+	if (eventActionFunctionStatus == enabledFunction) {
 
 	}
 }