Software /
code /
prosody
Changeset
133:b92493ea6fd7
Fixed: Works when LuaRocks is not present
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Thu, 23 Oct 2008 20:11:06 +0500 |
parents | 132:9a4aa57af367 |
children | 134:b772317ea1ee |
files | main.lua |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/main.lua Thu Oct 23 20:02:30 2008 +0500 +++ b/main.lua Thu Oct 23 20:11:06 2008 +0500 @@ -1,4 +1,4 @@ -require "luarocks.require" +pcall(require, "luarocks.require") local server = require "net.server" require "lxp" @@ -31,7 +31,7 @@ require "util.jid" ------------------------------------------------------------------------ - + -- Locals for faster access -- local t_insert = table.insert; local t_concat = table.concat;