Fix incorrect parameter for OnNotificationSentChanged event.

This commit is contained in:
Gunnar Beutner 2013-08-30 15:36:13 +02:00
parent b94f1603bb
commit ce44c9e249
1 changed files with 1 additions and 1 deletions

View File

@ -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) {