Software /
code /
prosody
Diff
net/server.lua @ 7544:fb68aad9dc4d
net.server: Only update configuration if server backend supports changing settings
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 10 Aug 2016 16:50:13 +0200 |
parent | 7543:23a8a26e8912 |
child | 7545:0941b3ab77c0 |
line wrap: on
line diff
--- 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 {};