event/TimerEvent: rename IsActive() to IsPending()

This commit is contained in:
Max Kellermann
2020-12-02 15:40:28 +01:00
parent 33ba190bec
commit 9d6b5e2ba1
3 changed files with 4 additions and 4 deletions

View File

@@ -148,7 +148,7 @@ try {
void
StateFile::CheckModified() noexcept
{
if (!timer_event.IsActive() && IsModified())
if (!timer_event.IsPending() && IsModified())
timer_event.Schedule(config.interval);
}