aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-08-10 16:50:13 +0200
committerKim Alvefur <zash@zash.se>2016-08-10 16:50:13 +0200
commita6cef24d86698e30f0ce8ff22d7af3fd97067ea0 (patch)
treefef1cbb574d945f9862e9b84bd35b870c0dbe010 /net
parent969816714499f8b0e4c838732d310781b15cb89a (diff)
downloadprosody-a6cef24d86698e30f0ce8ff22d7af3fd97067ea0.tar.gz
prosody-a6cef24d86698e30f0ce8ff22d7af3fd97067ea0.zip
net.server: Only update configuration if server backend supports changing settings
Diffstat (limited to 'net')
-rw-r--r--net/server.lua2
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 {};