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
commit6aa6f988a67d19fb256f5fb7233eafdb2c0a7f67 (patch)
treec2cd0d906b58be451e026c4d6ab0a064b23d8e0c
parent869da6c240dccfed8c43228ceb989af5faf6c8f1 (diff)
downloadprosody-6aa6f988a67d19fb256f5fb7233eafdb2c0a7f67.tar.gz
prosody-6aa6f988a67d19fb256f5fb7233eafdb2c0a7f67.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;