Software /
code /
prosody
Diff
net/server.lua @ 8711:9932a2a5b6de
net.server: Init a local logger (fixes traceback on attempt to warn about missing luaevent due to later loggingmanager initialization)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 05 Apr 2018 15:58:08 +0200 |
parent | 8700:d611c46c6787 |
child | 9215:b087b5047f86 |
line wrap: on
line diff
--- a/net/server.lua Thu Apr 05 15:56:47 2018 +0200 +++ b/net/server.lua Thu Apr 05 15:58:08 2018 +0200 @@ -6,6 +6,7 @@ -- COPYING file in the source package for more information. -- +local log = require "util.logger".init("net.server"); local server_type = prosody and require "core.configmanager".get("*", "network_backend") or "select"; if prosody and require "core.configmanager".get("*", "use_libevent") then server_type = "event";