projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8981f0e
)
Fix MD5 loading check
author
Matthew Wild
<mwild1@gmail.com>
Sun, 2 Nov 2008 01:19:23 +0000
(
01:19
+0000)
committer
Matthew Wild
<mwild1@gmail.com>
Sun, 2 Nov 2008 01:19:23 +0000
(
01:19
+0000)
util/hashes.lua
patch
|
blob
|
history
diff --git
a/util/hashes.lua
b/util/hashes.lua
index 8273fcf90c47591e3e2789f5e892e23ac7239612..5ed9d3acfd73bf7f17bd24379158556eb12220ef 100644
(file)
--- 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;