Software /
code /
prosody
Changeset
5383:143670deee3e
net.server: No sections in config anymore
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 23 Mar 2013 15:00:22 +0100 |
parents | 5380:e119e378b1d9 |
children | 5384:24f4aed5824f |
files | net/server.lua |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/net/server.lua Sat Mar 23 04:14:52 2013 +0100 +++ b/net/server.lua Sat Mar 23 15:00:22 2013 +0100 @@ -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 @@ 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;