1
0
mirror of https://github.com/Icinga/icinga2.git synced 2025-04-08 17:05:25 +02:00

Fix initialization bug for the Notification class

refs 
This commit is contained in:
Gunnar Beutner 2014-11-22 16:42:57 +01:00
parent 8611682cdb
commit 307db672c1
2 changed files with 4 additions and 0 deletions

@ -80,7 +80,10 @@ void Notification::OnConfigLoaded(void)
{
SetTypeFilter(FilterArrayToInt(GetTypes(), ~0));
SetStateFilter(FilterArrayToInt(GetStates(), ~0));
}
void Notification::OnAllConfigLoaded(void)
{
Checkable::Ptr obj = GetCheckable();
if (obj)

@ -115,6 +115,7 @@ public:
protected:
virtual void OnConfigLoaded(void);
virtual void OnAllConfigLoaded(void);
virtual void Start(void);
virtual void Stop(void);