From: Vsevolod Stakhov Date: Thu, 25 Dec 2025 15:37:37 +0000 (+0000) Subject: [Fix] Load rbl_common early for confighelp schema registration X-Git-Tag: 3.14.3~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6728234a06acd5017fdc67f99801dfa4578c6208;p=thirdparty%2Frspamd.git [Fix] Load rbl_common early for confighelp schema registration Move require of plugins/rbl before confighelp check so the schema gets registered even in confighelp mode. --- diff --git a/src/plugins/lua/rbl.lua b/src/plugins/lua/rbl.lua index 29cba269d3..39d92dddf6 100644 --- a/src/plugins/lua/rbl.lua +++ b/src/plugins/lua/rbl.lua @@ -15,6 +15,9 @@ See the License for the specific language governing permissions and limitations under the License. ]]-- +-- Load RBL common module early to register schema for confighelp +local rbl_common = require "plugins/rbl" + if confighelp then return end @@ -28,7 +31,6 @@ local lua_util = require 'lua_util' local selectors = require "lua_selectors" local bit = require 'bit' local lua_maps = require "lua_maps" -local rbl_common = require "plugins/rbl" local rspamd_url = require "rspamd_url" -- This plugin implements various types of RBL checks