From: Remi Gacogne Date: Fri, 17 Mar 2017 14:48:10 +0000 (+0100) Subject: Doc: Fix our `prerpz` hook example, it must return a boolean X-Git-Tag: rec-4.1.0-alpha1~193^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F5172%2Fhead;p=thirdparty%2Fpdns.git Doc: Fix our `prerpz` hook example, it must return a boolean --- diff --git a/docs/markdown/recursor/scripting.md b/docs/markdown/recursor/scripting.md index c36f3d5dad..26857b568a 100644 --- a/docs/markdown/recursor/scripting.md +++ b/docs/markdown/recursor/scripting.md @@ -184,6 +184,7 @@ function prerpz(dq) if dq.qname:equal('example.com') then dq:discardPolicy('malware') end + return false end ```