mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2024-05-11 05:55:19 +00:00
sms-forward: use $LogPrintExit
This commit is contained in:
@ -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" . \
|
||||
|
Reference in New Issue
Block a user