# HG changeset patch # User Matthew Wild # Date 1265377921 0 # Node ID f321211978f61e71516b5371deaca2c3d9b1119e # Parent e7bec4072c611287954b56dd9db2e91a56e5b029 util.dependencies: Don't query the config (it isn't really necessary) diff -r e7bec4072c61 -r f321211978f6 util/dependencies.lua --- a/util/dependencies.lua Sun Jan 31 19:58:52 2010 +0000 +++ b/util/dependencies.lua Fri Feb 05 13:52:01 2010 +0000 @@ -73,15 +73,11 @@ local ssl = softreq "ssl" if not ssl then - if config.get("*", "core", "run_without_ssl") then - log("warn", "Running without SSL support because run_without_ssl is defined in the config"); - else - missingdep("LuaSec", { - ["Debian/Ubuntu"] = "http://prosody.im/download/start#debian_and_ubuntu"; - ["luarocks"] = "luarocks install luasec"; - ["Source"] = "http://www.inf.puc-rio.br/~brunoos/luasec/"; - }, "SSL/TLS support will not be available"); - end + missingdep("LuaSec", { + ["Debian/Ubuntu"] = "http://prosody.im/download/start#debian_and_ubuntu"; + ["luarocks"] = "luarocks install luasec"; + ["Source"] = "http://www.inf.puc-rio.br/~brunoos/luasec/"; + }, "SSL/TLS support will not be available"); else local major, minor, veryminor, patched = ssl._VERSION:match("(%d+)%.(%d+)%.?(%d*)(M?)"); if not major or ((tonumber(major) == 0 and (tonumber(minor) or 0) <= 3 and (tonumber(veryminor) or 0) <= 2) and patched ~= "M") then