diff options
author | Kim Alvefur <zash@zash.se> | 2016-08-10 16:50:13 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-08-10 16:50:13 +0200 |
commit | 510413f2218134fa1b834d0519be3550de8ab669 (patch) | |
tree | fef1cbb574d945f9862e9b84bd35b870c0dbe010 | |
parent | fbc5fe997d55d19f46bf1e5feb8f9b7f840d8854 (diff) | |
download | prosody-510413f2218134fa1b834d0519be3550de8ab669.tar.gz prosody-510413f2218134fa1b834d0519be3550de8ab669.zip |
net.server: Only update configuration if server backend supports changing settings
-rw-r--r-- | net/server.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server.lua b/net/server.lua index d96c71c7..12ae5c44 100644 --- a/net/server.lua +++ b/net/server.lua @@ -89,7 +89,7 @@ else end end -if prosody then +if prosody and set_config then local config_get = require "core.configmanager".get; local function load_config() local settings = config_get("*", "network_settings") or {}; |