Software /
code /
prosody
Changeset
5200:cfc038f1f923
net.server: Fix when no network_settings set and using libevent
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 23 Nov 2012 17:16:22 +0100 |
parents | 5198:430797a8fc81 |
children | 5201:99cb5170a2ea 5202:ff0d0cd07c43 |
files | net/server.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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;