# HG changeset patch
# User Kim Alvefur <zash@zash.se>
# Date 1470840613 -7200
# Node ID fb68aad9dc4dcfbc10d0a2cc505bdb201a6f4334
# Parent  23a8a26e89121b7569e812300228aaded66af2be
net.server: Only update configuration if server backend supports changing settings

diff -r 23a8a26e8912 -r fb68aad9dc4d net/server.lua
--- a/net/server.lua	Wed Aug 10 16:44:59 2016 +0200
+++ b/net/server.lua	Wed Aug 10 16:50:13 2016 +0200
@@ -89,7 +89,7 @@
 	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 {};