aboutsummaryrefslogtreecommitdiffstats
path: root/main.lua
diff options
context:
space:
mode:
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.lua b/main.lua
index cd6077f1..a379c826 100644
--- a/main.lua
+++ b/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;