projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eccbcb3
)
net.server: Fix when no network_settings set and using libevent
author
Kim Alvefur
<zash@zash.se>
Fri, 23 Nov 2012 16:16:22 +0000
(17:16 +0100)
committer
Kim Alvefur
<zash@zash.se>
Fri, 23 Nov 2012 16:16:22 +0000
(17:16 +0100)
net/server.lua
patch
|
blob
|
history
diff --git
a/net/server.lua
b/net/server.lua
index 23c6f9560b45ad1e25b7e445bd5408945a23a9ea..d80b8a18dee0ae9345c8ccbd924e351256c7bb0e 100644
(file)
--- 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;