net/server.lua
changeset 7547 fb68aad9dc4d
parent 7546 23a8a26e8912
child 7548 0941b3ab77c0
--- 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 {};