aboutsummaryrefslogtreecommitdiffstats
path: root/log-forward.rsc
diff options
context:
space:
mode:
Diffstat (limited to 'log-forward.rsc')
-rw-r--r--log-forward.rsc4
1 files changed, 3 insertions, 1 deletions
diff --git a/log-forward.rsc b/log-forward.rsc
index 5044d43..b9dbc8b 100644
--- a/log-forward.rsc
+++ b/log-forward.rsc
@@ -32,7 +32,9 @@
:global SendNotification2;
:global SymbolForNotification;
- $ScriptLock $ScriptName;
+ :if ([ $ScriptLock $ScriptName ] = false) do={
+ :return false;
+ }
:if ([ :typeof $LogForwardRateLimit ] = "nothing") do={
:set LogForwardRateLimit 0;