aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.lua b/main.lua
index 272486ce..e9e8fca2 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;