|
@@ -90,7 +90,7 @@ while (1) {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
# Ongoing ALARM
|
|
# Ongoing ALARM
|
|
|
- if (exists($exists{'ALARM'}) && $exists{'ALARM'}) {
|
|
|
|
|
|
|
+ if ($exists{'ALARM'}) {
|
|
|
if ($now - $speakLast > $SPEAK_DELAY) {
|
|
if ($now - $speakLast > $SPEAK_DELAY) {
|
|
|
$speakLast = $now;
|
|
$speakLast = $now;
|
|
|
DMX::say('Unauthorized access detected.');
|
|
DMX::say('Unauthorized access detected.');
|