aboutsummaryrefslogtreecommitdiffstats
path: root/global-functions
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2021-06-28 01:13:31 +0200
committerGravatar Christian Hesse <mail@eworm.de>2021-07-01 22:37:03 +0200
commitaad91d90ea3c4cbe21b5c4f61fed94aaa337bddb (patch)
tree4e8adf326947aded9595bf68ff4a65b4d58cd667 /global-functions
parent0b4c1861cf54a017bbe1e7cf6e0e91f4b63e9e73 (diff)
global-functions: $ScriptLock: use hex string for ticket
Does not matter what the ticket looks like, but using hex string it is not converted to number.
Diffstat (limited to 'global-functions')
-rw-r--r--global-functions4
1 files changed, 2 insertions, 2 deletions
diff --git a/global-functions b/global-functions
index 9c4a53e..e7080e4 100644
--- a/global-functions
+++ b/global-functions
@@ -908,7 +908,7 @@
:local DoReturn $2;
:local WaitMax ([ :tonum $3 ] * 10);
- :global GetRandomNumber;
+ :global GetRandom20CharHex;
:global IfThenElse;
:global LogPrintExit2;
@@ -947,7 +947,7 @@
/ system script job remove [ find where script=$Script ];
}
- :local MyTicket [ $GetRandomNumber ];
+ :local MyTicket [ $GetRandom20CharHex ];
:set ($ScriptLockOrder->$Script) [ $AddTicket ($ScriptLockOrder->$Script) $MyTicket ];
:local WaitCount 0;