aboutsummaryrefslogtreecommitdiffstats
path: root/global-functions
diff options
context:
space:
mode:
Diffstat (limited to 'global-functions')
-rw-r--r--global-functions8
1 files changed, 5 insertions, 3 deletions
diff --git a/global-functions b/global-functions
index 95437c6..7f3e51b 100644
--- a/global-functions
+++ b/global-functions
@@ -776,9 +776,11 @@
:return false;
}
- :if ([ / ip cloud get update-time ] = true && \
- [ :typeof [ / ip cloud get public-address ] ] = "ip") do={
- :return true;
+ :if ([ / ip cloud get ddns-enabled ] = true && [ / ip cloud get update-time ] = true) do={
+ :if ([ :typeof [ / ip cloud get public-address ] ] = "ip") do={
+ :return true;
+ }
+ :return false;
}
:return false;