aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sms-forward.rsc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sms-forward.rsc b/sms-forward.rsc
index 3249654..fb4d73c 100644
--- a/sms-forward.rsc
+++ b/sms-forward.rsc
@@ -16,6 +16,7 @@
:global IfThenElse;
:global LogPrintExit2;
+:global LogPrintOnce;
:global ScriptLock;
:global SendNotification2;
:global SymbolForNotification;
@@ -25,7 +26,7 @@
$ScriptLock $0;
:if ([ /tool/sms/get receive-enabled ] = false) do={
- $LogPrintExit2 warning $0 ("Receiving of SMS is not enabled.") true;
+ $LogPrintOnce warning $0 ("Receiving of SMS is not enabled.") true;
}
$WaitFullyConnected;