Thu, 23 Oct 2008 20:11:06 +0500
Fixed: Works when LuaRocks is not present
main.lua | file | annotate | diff | comparison | revisions |
--- 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;