diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-06-27 16:06:14 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-06-27 16:06:14 +0100 |
commit | c3e0d7c4aa3c1bbce34776299359460be8861434 (patch) | |
tree | 6f1eb975358ead35d7f8f25f92ccaaf14fe081ac /src | |
parent | eaa332c782df1ad76b02a16a76ea026fe110a1f0 (diff) | |
parent | f201a3d17b35f6088af426ad314aa7b94219b185 (diff) | |
download | rspamd-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.lua | 1 |
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] = {}, |