mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
Fixed: Works when LuaRocks is not present
This commit is contained in:
parent
869f2859c3
commit
da1e8c565a
1 changed files with 2 additions and 2 deletions
4
main.lua
4
main.lua
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue