# HG changeset patch # User Matthew Wild # Date 1282521973 -3600 # Node ID 4476345643566af0b483d572c0b8ed3c91273646 # Parent 742f6e5a40663f305cffffb1a9551648744d051d net.server: Don't load configmanager if not running inside Prosody, assume server_select diff -r 742f6e5a4066 -r 447634564356 net/server.lua --- a/net/server.lua Sun Aug 22 21:36:04 2010 +0100 +++ b/net/server.lua Mon Aug 23 01:06:13 2010 +0100 @@ -6,7 +6,7 @@ -- COPYING file in the source package for more information. -- -local use_luaevent = require "core.configmanager".get("*", "core", "use_libevent"); +local use_luaevent = prosody and require "core.configmanager".get("*", "core", "use_libevent"); if use_luaevent then use_luaevent = pcall(require, "luaevent.core");