Skip to content

Commit

Permalink
Don't set Notification#no_more_notifications on custom notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
Al2Klimov committed Nov 15, 2024
1 parent 7a20d98 commit 35a7057
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/icinga/notification.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ void Notification::BeginExecuteNotification(NotificationType type, const CheckRe

if (type == NotificationProblem && GetInterval() <= 0)
SetNoMoreNotifications(true);
else
else if (type != NotificationCustom)
SetNoMoreNotifications(false);

if (type == NotificationProblem && GetInterval() > 0)
Expand Down

0 comments on commit 35a7057

Please sign in to comment.