aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2012-11-23 17:17:02 +0100
committerKim Alvefur <zash@zash.se>2012-11-23 17:17:02 +0100
commit7f7456af86f1a03716b80007f8ad55a4542783d9 (patch)
tree493c1f07d1691e50b7e113a42783bd3baed96acb /net
parent42c35b589bb632bddbf14d7a8569b71be8d461f5 (diff)
parent22e8b30fef19893b4e521a9346b2b614486733f4 (diff)
downloadprosody-7f7456af86f1a03716b80007f8ad55a4542783d9.tar.gz
prosody-7f7456af86f1a03716b80007f8ad55a4542783d9.zip
Merge 0.9->trunk
Diffstat (limited to 'net')
-rw-r--r--net/server.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server.lua b/net/server.lua
index 23c6f956..d80b8a18 100644
--- a/net/server.lua
+++ b/net/server.lua
@@ -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");
+ local settings = config_get("*", "core", "network_settings") or {};
if use_luaevent then
local event_settings = {
ACCEPT_DELAY = settings.event_accept_retry_interval;