Skip to content

Commit

Permalink
Merge pull request #7818 from Icinga/bugfix/no_more_notifications-7758
Browse files Browse the repository at this point in the history
Don't set Notification#no_more_notifications on custom notifications
  • Loading branch information
yhabteab authored Nov 15, 2024
2 parents 211bae8 + 35a7057 commit 2931aea
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 2931aea

Please sign in to comment.