diff --git a/lib/icinga/notification.cpp b/lib/icinga/notification.cpp index aed249350..2e5cb234d 100644 --- a/lib/icinga/notification.cpp +++ b/lib/icinga/notification.cpp @@ -300,7 +300,7 @@ void Notification::BeginExecuteNotification(NotificationType type, const CheckRe std::set allNotifiedUsers; BOOST_FOREACH(const User::Ptr& user, allUsers) { - if (!CheckNotificationUserFilters(type, user, force)) + if (!user->GetEnableNotifications() || !CheckNotificationUserFilters(type, user, force)) continue; Log(LogInformation, "Notification", "Sending notification for user '" + user->GetName() + "'");