diff options
author | Matthew Wild <mwild1@gmail.com> | 2008-11-02 01:19:23 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2008-11-02 01:19:23 +0000 |
commit | 6df10675c84773ce9e6c5b156b541d53f8b89119 (patch) | |
tree | 3240b3698b07d7061ad8a7dc3ce97d9f5630d661 /util | |
parent | 3a14c1ab216ab1ff415f03571b2928e7be1240d1 (diff) | |
download | prosody-6df10675c84773ce9e6c5b156b541d53f8b89119.tar.gz prosody-6df10675c84773ce9e6c5b156b541d53f8b89119.zip |
Fix MD5 loading check
Diffstat (limited to 'util')
-rw-r--r-- | util/hashes.lua | 2 |
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; |