Merge pull request #6147 from singhharsh1708/fix/zmtrigger-mode-check

fix: zmtrigger warns when triggering a monitor that does not record
This commit is contained in:
Isaac Connor authored and GitHub committed 2026-11-15 21:19:11 -05:00
commit 720248b6ac
1 file changed
+2 -2
+2 -2
View File
@@ -358,11 +358,11 @@ sub handleMessage {
handleDelay($delay, $connection, $action_text);
}
} elsif ( $action =~ /^(on|off)(?:[ \+](\d+))?$/ ) {
if ( !$monitor->{Capturing} eq 'None' ) {
if ( $monitor->{Capturing} eq 'None' ) {
Warning('Capturing not enabled on monitor '.$id);
return;
}
if ( !$monitor->{Recording} eq 'None' ) {
if ( $monitor->{Recording} eq 'None' ) {
Warning('Recording not enabled on monitor '.$id);
}