From ce44c9e249ac99515eb9379c11274e997e6e4fe5 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Fri, 30 Aug 2013 15:36:13 +0200 Subject: [PATCH] Fix incorrect parameter for OnNotificationSentChanged event. --- lib/icinga/notification.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/icinga/notification.cpp b/lib/icinga/notification.cpp index 7da0ce79a..35da7c1e4 100644 --- a/lib/icinga/notification.cpp +++ b/lib/icinga/notification.cpp @@ -341,7 +341,7 @@ void Notification::ExecuteNotificationHelper(NotificationType type, const User:: SetLastNotification(Utility::GetTime()); } - Service::OnNotificationSentChanged(GetSelf(), user, type, cr, author, text); + Service::OnNotificationSentChanged(GetService(), user, type, cr, author, text); Log(LogInformation, "icinga", "Completed sending notification for service '" + GetService()->GetName() + "'"); } catch (const std::exception& ex) { -- 2.50.1