From a6cef24d86698e30f0ce8ff22d7af3fd97067ea0 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Wed, 10 Aug 2016 16:50:13 +0200 Subject: net.server: Only update configuration if server backend supports changing settings --- net/server.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net') 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 {}; -- cgit v1.2.3