diff options
author | Waqas Hussain <waqas20@gmail.com> | 2008-10-23 20:11:06 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2008-10-23 20:11:06 +0500 |
commit | da1e8c565a58700cdaecea23c057b55d130a5243 (patch) | |
tree | 1cdd7c24b7e3af4bc3d07ab679793ad9d957778b | |
parent | 869f2859c3538ca67758cbfe10c57eefd6e09899 (diff) | |
download | prosody-da1e8c565a58700cdaecea23c057b55d130a5243.tar.gz prosody-da1e8c565a58700cdaecea23c057b55d130a5243.zip |
Fixed: Works when LuaRocks is not present
-rw-r--r-- | main.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -require "luarocks.require" +pcall(require, "luarocks.require") local server = require "net.server" require "lxp" @@ -31,7 +31,7 @@ require "util.stanza" require "util.jid" ------------------------------------------------------------------------ - + -- Locals for faster access -- local t_insert = table.insert; local t_concat = table.concat; |