global: use $0 for $ScriptLock

This commit is contained in:
Christian Hesse 2021-02-22 19:52:20 +01:00
parent f46db91845
commit 041ca062b1
8 changed files with 8 additions and 8 deletions

View file

@ -19,7 +19,7 @@
:global SymbolForNotification;
:global WaitFullyConnected;
$ScriptLock "sms-forward";
$ScriptLock $0;
:if ([ / tool sms get receive-enabled ] = false) do={
$LogPrintExit2 warning $0 ("Receiving of SMS is not enabled.") true;