diff --git a/src/eitd/sectionsd.cpp b/src/eitd/sectionsd.cpp index 114e4a18a..c8695403f 100644 --- a/src/eitd/sectionsd.cpp +++ b/src/eitd/sectionsd.cpp @@ -1355,7 +1355,7 @@ void CTimeThread::setSystemTime(time_t tim) #endif if (timediff == 0) /* very unlikely... :-) */ return; - if (abs(tim - tv.tv_sec) < 120) { /* abs() is int */ + if (timeset && abs(tim - tv.tv_sec) < 120) { /* abs() is int */ struct timeval oldd; tv.tv_sec = timediff / 1000000LL; tv.tv_usec = timediff % 1000000LL;