mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-31 16:24:25 +02:00
sms-forward: use $LogPrintExit
This commit is contained in:
parent
ee903e263f
commit
972a481faa
1 changed files with 1 additions and 1 deletions
|
@ -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" . \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue