aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-03-27 22:58:33 +0100
committerGravatar Christian Hesse <mail@eworm.de>2024-03-27 23:02:22 +0100
commit1d816d94f60ed953e67760bf2f567442002c0a6f (patch)
tree0e67fec4853dcddcfae9ae967c00733edbb77552
parent7212d8bd23c555970e22fa43edb56dabfe14b820 (diff)
global-functions: $FetchUserAgent: set declared function only
-rw-r--r--global-functions.rsc2
1 files changed, 1 insertions, 1 deletions
diff --git a/global-functions.rsc b/global-functions.rsc
index b3d8719..35eeca9 100644
--- a/global-functions.rsc
+++ b/global-functions.rsc
@@ -391,7 +391,7 @@
}
# generate user agent string for fetch
-:global FetchUserAgent do={
+:set FetchUserAgent do={
:local Caller [ :tostr $1 ];
:local Resource [ /system/resource/get ];