From 9cc81a1e40b84af83adce94f0f65d0e42d01c621 Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Thu, 6 Feb 2020 16:44:29 +0100 Subject: [PATCH] Don't set Notification#no_more_notifications on others than problem/recovery refs #7758 --- lib/icinga/notification.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/icinga/notification.cpp b/lib/icinga/notification.cpp index 9c2ae7ec80f..08ce29baf05 100644 --- a/lib/icinga/notification.cpp +++ b/lib/icinga/notification.cpp @@ -335,7 +335,7 @@ void Notification::BeginExecuteNotification(NotificationType type, const CheckRe if (type == NotificationProblem && GetInterval() <= 0) SetNoMoreNotifications(true); - else + else if (type == NotificationRecovery) SetNoMoreNotifications(false); if (type == NotificationProblem && GetInterval() > 0)