From: Vsevolod Stakhov Date: Sat, 28 Apr 2018 17:56:09 +0000 (+0100) Subject: [Minor] Mark module as experimental for now X-Git-Tag: 1.7.4~18 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=82c3d6e5b4bb7e317761013c3469b3a618612d6a;p=rspamd.git [Minor] Mark module as experimental for now --- diff --git a/src/plugins/lua/maps_stats.lua b/src/plugins/lua/maps_stats.lua index ed6aedbd3..725629a77 100644 --- a/src/plugins/lua/maps_stats.lua +++ b/src/plugins/lua/maps_stats.lua @@ -29,6 +29,7 @@ maps_stats { end local redis_params +local lua_util = require "lua_util" local rspamd_logger = require "rspamd_logger" local lua_redis = require "lua_redis" local N = "maps_stats" @@ -91,6 +92,10 @@ local function process_map(map, ev_base, _) end end +if not lua_util.check_experimental(N) then + return +end + local opts = rspamd_config:get_all_opt(N) if opts then