From 3ca0b8f92dde47369d9c12dcac25e2e7ada1cfcd Mon Sep 17 00:00:00 2001 From: bert hubert Date: Sat, 16 Jan 2016 13:46:33 +0100 Subject: [PATCH] we silently ignored your Lua script if there was no Lua support in PowerDNS Recursor. This makes us error out again. --- pdns/lua-recursor4.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/lua-recursor4.cc b/pdns/lua-recursor4.cc index b2208b5dc3..c1312abf3f 100644 --- a/pdns/lua-recursor4.cc +++ b/pdns/lua-recursor4.cc @@ -9,7 +9,7 @@ RecursorLua4::RecursorLua4(const std::string &fname) { - // empty + throw std::runtime_error("Attempt to load a Lua script in a PowerDNS binary without Lua support"); } bool RecursorLua4::nxdomain(const ComboAddress& remote,const ComboAddress& local, const DNSName& query, const QType& qtype, vector& ret, int& res, bool* variable) -- 2.47.2