# HG changeset patch # User Kim Alvefur # Date 1353687382 -3600 # Node ID cfc038f1f923490499f9b871bca37f04c99481b3 # Parent 430797a8fc81bef44f158a69d39783116a8c242c net.server: Fix when no network_settings set and using libevent diff -r 430797a8fc81 -r cfc038f1f923 net/server.lua --- a/net/server.lua Fri Nov 23 01:51:30 2012 +0100 +++ b/net/server.lua Fri Nov 23 17:16:22 2012 +0100 @@ -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"); + local settings = config_get("*", "core", "network_settings") or {}; if use_luaevent then local event_settings = { ACCEPT_DELAY = settings.event_accept_retry_interval;