diff --git a/lib/icinga/service-notification.cpp b/lib/icinga/service-notification.cpp index 38873eeaa..8fbb4fdba 100644 --- a/lib/icinga/service-notification.cpp +++ b/lib/icinga/service-notification.cpp @@ -169,7 +169,7 @@ bool Service::GetEnableNotifications(void) const void Service::SetEnableNotifications(bool enabled, const String& authority) { - SetOverrideEnableActiveChecks(enabled); + SetOverrideEnableNotifications(enabled); OnEnableNotificationsChanged(GetSelf(), enabled, authority); }