Diff

net/server.lua @ 6483:63539dfb96e7

net.server: Rename 'server' config option to 'network_backend' (to select which net.server implementation to use)
author Matthew Wild <mwild1@gmail.com>
date Wed, 22 Oct 2014 12:56:41 +0100
parent 6482:410067cdeb2f
child 6484:913585bca01f
line wrap: on
line diff
--- a/net/server.lua	Tue Oct 21 17:26:48 2014 -0400
+++ b/net/server.lua	Wed Oct 22 12:56:41 2014 +0100
@@ -6,7 +6,7 @@
 -- COPYING file in the source package for more information.
 --
 
-local server_type = prosody and require "core.configmanager".get("*", "server") or "select";
+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";
 end