aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2015-06-27 17:03:18 +0200
committerAndrew Lewis <nerf@judo.za.org>2015-06-27 17:03:18 +0200
commitf201a3d17b35f6088af426ad314aa7b94219b185 (patch)
tree6f1eb975358ead35d7f8f25f92ccaaf14fe081ac /src/plugins
parenteaa332c782df1ad76b02a16a76ea026fe110a1f0 (diff)
downloadrspamd-f201a3d17b35f6088af426ad314aa7b94219b185.tar.gz
rspamd-f201a3d17b35f6088af426ad314aa7b94219b185.zip
Fix settings
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/lua/settings.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/lua/settings.lua b/src/plugins/lua/settings.lua
index 7420d0716..bd2f2ce29 100644
--- a/src/plugins/lua/settings.lua
+++ b/src/plugins/lua/settings.lua
@@ -29,6 +29,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-- https://rspamd.com/doc/configuration/settings.html
local set_section = rspamd_config:get_all_opt("settings")
+if not set_section then return end
local settings = {
[1] = {},
[2] = {},