aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-11-02 01:19:23 +0000
committerMatthew Wild <mwild1@gmail.com>2008-11-02 01:19:23 +0000
commit6df10675c84773ce9e6c5b156b541d53f8b89119 (patch)
tree3240b3698b07d7061ad8a7dc3ce97d9f5630d661 /util
parent3a14c1ab216ab1ff415f03571b2928e7be1240d1 (diff)
downloadprosody-6df10675c84773ce9e6c5b156b541d53f8b89119.tar.gz
prosody-6df10675c84773ce9e6c5b156b541d53f8b89119.zip
Fix MD5 loading check
Diffstat (limited to 'util')
-rw-r--r--util/hashes.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/hashes.lua b/util/hashes.lua
index 8273fcf9..5ed9d3ac 100644
--- a/util/hashes.lua
+++ b/util/hashes.lua
@@ -23,6 +23,8 @@ if md5 then
else
error("md5 library found, but unrecognised... no hash functions will be available", 0);
end
+else
+ error("No md5 library found. Install md5 using luarocks, for example", 0);
end
return _M;