aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2013-03-23 15:00:22 +0100
committerKim Alvefur <zash@zash.se>2013-03-23 15:00:22 +0100
commit3d20751178f3f22fc0faa3f2dd56e71b88e75dfe (patch)
treec2cd0d906b58be451e026c4d6ab0a064b23d8e0c
parentaa0eb8fdc87589433a1cd5d03f136fb6f32a7426 (diff)
downloadprosody-3d20751178f3f22fc0faa3f2dd56e71b88e75dfe.tar.gz
prosody-3d20751178f3f22fc0faa3f2dd56e71b88e75dfe.zip
net.server: No sections in config anymore
-rw-r--r--net/server.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/server.lua b/net/server.lua
index 3cdbe551..deabaa12 100644
--- a/net/server.lua
+++ b/net/server.lua
@@ -6,7 +6,7 @@
-- COPYING file in the source package for more information.
--
-local use_luaevent = prosody and require "core.configmanager".get("*", "core", "use_libevent");
+local use_luaevent = prosody and require "core.configmanager".get("*", "use_libevent");
if use_luaevent then
use_luaevent = pcall(require, "luaevent.core");
@@ -43,7 +43,7 @@ end
if prosody then
local config_get = require "core.configmanager".get;
local function load_config()
- local settings = config_get("*", "core", "network_settings") or {};
+ local settings = config_get("*", "network_settings") or {};
if use_luaevent then
local event_settings = {
ACCEPT_DELAY = settings.event_accept_retry_interval;