net/server.lua
changeset 2925 692b3c6c5bd2
parent 2645 625d02b2a1a0
parent 2923 b7049746bd29
child 2968 fdd049a4e551
equal deleted inserted replaced
2918:79ca9f686aaf 2925:692b3c6c5bd2
       
     1 -- Prosody IM
       
     2 -- Copyright (C) 2008-2010 Matthew Wild
       
     3 -- Copyright (C) 2008-2010 Waqas Hussain
       
     4 -- 
       
     5 -- This project is MIT/X11 licensed. Please see the
       
     6 -- COPYING file in the source package for more information.
       
     7 --
     1 
     8 
     2 local use_luaevent = require "core.configmanager".get("*", "core", "use_libevent");
     9 local use_luaevent = require "core.configmanager".get("*", "core", "use_libevent");
     3 
    10 
     4 if use_luaevent then
    11 if use_luaevent then
     5 	use_luaevent = pcall(require, "luaevent.core");
    12 	use_luaevent = pcall(require, "luaevent.core");