diff --git a/src/zm_monitor.cpp b/src/zm_monitor.cpp index d7f524cc4..4f89b9fe5 100644 --- a/src/zm_monitor.cpp +++ b/src/zm_monitor.cpp @@ -2028,7 +2028,7 @@ bool Monitor::Analyse() { } // end if ! event } // end if RECORDING - if (score and (function == MODECT or function == NODECT)) { + if (score and (function != MONITOR)) { if ((state == IDLE) || (state == TAPE) || (state == PREALARM)) { // If we should end then previous continuous event and start a new non-continuous event if (event && event->Frames()