sms-forward: use $LogPrintExit

This commit is contained in:
Christian Hesse 2020-04-03 17:20:56 +02:00
parent ee903e263f
commit 972a481faa

View file

@ -29,7 +29,7 @@
:if ($Phone = $Settings->"allowed-number" && \
($SmsVal->"message")~("^:cmd " . $Settings->"secret" . " script ")) do={
:log debug "Removing SMS, which started a script.";
$LogPrintExit debug ("Removing SMS, which started a script.") false;
/ tool sms inbox remove $Sms;
} else={
:set Messages ($Messages . "\n\nOn " . $SmsVal->"timestamp" . \