From 972a481faadc7ae35f9d1a4178704cc17b0cc6ca Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 3 Apr 2020 17:20:56 +0200 Subject: sms-forward: use $LogPrintExit --- sms-forward | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sms-forward b/sms-forward index 2045196..7f79aaa 100644 --- a/sms-forward +++ b/sms-forward @@ -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" . \ -- cgit v1.2.3-70-g09d2