diff options
Diffstat (limited to 'global-functions')
-rw-r--r-- | global-functions | 8 |
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; |