mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-03 03:44:28 +02:00
Don't set Notification#no_more_notifications on custom notifications
This commit is contained in:
parent
7a20d987f6
commit
35a705752f
@ -389,7 +389,7 @@ void Notification::BeginExecuteNotification(NotificationType type, const CheckRe
|
|||||||
|
|
||||||
if (type == NotificationProblem && GetInterval() <= 0)
|
if (type == NotificationProblem && GetInterval() <= 0)
|
||||||
SetNoMoreNotifications(true);
|
SetNoMoreNotifications(true);
|
||||||
else
|
else if (type != NotificationCustom)
|
||||||
SetNoMoreNotifications(false);
|
SetNoMoreNotifications(false);
|
||||||
|
|
||||||
if (type == NotificationProblem && GetInterval() > 0)
|
if (type == NotificationProblem && GetInterval() > 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user