aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2013-09-22 00:37:04 +0200
committerKim Alvefur <zash@zash.se>2013-09-22 00:37:04 +0200
commitf06c9f7d0da2fb9f1d0af09ce24e74b983fa49b3 (patch)
tree178fbb2ac3a038f6d2f626881387e5771091eb1f /util
parent0a2715f365f2dc28c33933d486fecdb64daf7a89 (diff)
downloadprosody-f06c9f7d0da2fb9f1d0af09ce24e74b983fa49b3.tar.gz
prosody-f06c9f7d0da2fb9f1d0af09ce24e74b983fa49b3.zip
Backout ae48bf828f21
Diffstat (limited to 'util')
-rw-r--r--util/dependencies.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/dependencies.lua b/util/dependencies.lua
index 9258be88..9371521c 100644
--- a/util/dependencies.lua
+++ b/util/dependencies.lua
@@ -11,9 +11,9 @@ module("dependencies", package.seeall)
function softreq(...) local ok, lib = pcall(require, ...); if ok then return lib; else return nil, lib; end end
-- Required to be able to find packages installed with luarocks
---if not softreq "luarocks.loader" then -- LuaRocks 2.x
--- softreq "luarocks.require"; -- LuaRocks <1.x
---end
+if not softreq "luarocks.loader" then -- LuaRocks 2.x
+ softreq "luarocks.require"; -- LuaRocks <1.x
+end
function missingdep(name, sources, msg)
print("");