aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-06-27 16:06:14 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-06-27 16:06:14 +0100
commitc3e0d7c4aa3c1bbce34776299359460be8861434 (patch)
tree6f1eb975358ead35d7f8f25f92ccaaf14fe081ac /src
parenteaa332c782df1ad76b02a16a76ea026fe110a1f0 (diff)
parentf201a3d17b35f6088af426ad314aa7b94219b185 (diff)
downloadrspamd-c3e0d7c4aa3c1bbce34776299359460be8861434.tar.gz
rspamd-c3e0d7c4aa3c1bbce34776299359460be8861434.zip
Merge pull request #310 from fatalbanana/master
Fix settings
Diffstat (limited to 'src')
-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] = {},