From: Gunnar Beutner Date: Fri, 30 Aug 2013 13:36:13 +0000 (+0200) Subject: Fix incorrect parameter for OnNotificationSentChanged event. X-Git-Tag: v0.0.3~638 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ce44c9e249ac99515eb9379c11274e997e6e4fe5;p=icinga2 Fix incorrect parameter for OnNotificationSentChanged event. --- 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) {