Software /
code /
prosody
Comparison
net/server.lua @ 2925:692b3c6c5bd2
Merge 0.6->0.7
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 22 Mar 2010 17:24:55 +0000 |
parent | 2645:625d02b2a1a0 |
parent | 2923:b7049746bd29 |
child | 2968:fdd049a4e551 |
comparison
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"); |