From cc521cc1992877a17742da6d2b1ab31e37f00400 Mon Sep 17 00:00:00 2001 From: Piotr Ginalski Date: Thu, 16 Jun 2022 16:18:34 +0200 Subject: [PATCH] Update functions.rst Added missing parameters for continent() and region() --- docs/lua-records/functions.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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`. -- 2.47.2