aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;