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 Mar 14, 2024
1 parent d551eae commit 3cfa9bd
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 3cfa9bd

Please sign in to comment.