From 6245a4df6aecaf55e049a12b00502a7a43d0bd93 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Tue, 19 Oct 2021 15:24:01 -0400 Subject: [PATCH] Correct logic so that RECORD and MOCORD also get events. --- src/zm_monitor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()