From: Piotr Ginalski Date: Thu, 16 Jun 2022 14:18:34 +0000 (+0200) Subject: Update functions.rst X-Git-Tag: auth-4.8.0-alpha0~36^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc521cc1992877a17742da6d2b1ab31e37f00400;p=thirdparty%2Fpdns.git Update functions.rst Added missing parameters for continent() and region() --- diff --git a/docs/lua-records/functions.rst b/docs/lua-records/functions.rst index 0347b02faa..c0ccb7c2e0 100644 --- a/docs/lua-records/functions.rst +++ b/docs/lua-records/functions.rst @@ -414,7 +414,8 @@ Helper functions Returns two letter ISO country code based ``bestwho`` IP address, as described in :doc:`../backends/geoip`. If the two letter ISO country code is unknown "--" will be returned. -.. function:: region() +.. function:: region(region) + region(regions) Returns true if the ``bestwho`` IP address of the client is within the two letter ISO region code passed, as described in :doc:`../backends/geoip`. @@ -427,7 +428,8 @@ Helper functions Returns two letter ISO region code based ``bestwho`` IP address, as described in :doc:`../backends/geoip`. If the two letter ISO region code is unknown "--" will be returned. -.. function:: continent() +.. function:: continent(continent) + continent(continents) Returns true if the ``bestwho`` IP address of the client is within the continent passed, as described in :doc:`../backends/geoip`.