mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-21 04:34:43 +02:00
parent
40b4040880
commit
21d1ffa28b
@ -166,7 +166,7 @@ bool Downtime::IsInEffect(void) const
|
||||
if (triggerTime == 0)
|
||||
return false;
|
||||
|
||||
return (triggerTime + GetDuration() < now);
|
||||
return (now < triggerTime + GetDuration());
|
||||
}
|
||||
|
||||
bool Downtime::IsTriggered(void) const
|
||||
|
Loading…
x
Reference in New Issue
Block a user