Fix MD5 loading check

Sun, 02 Nov 2008 01:19:23 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Sun, 02 Nov 2008 01:19:23 +0000
changeset 194
4ea1ec218976
parent 193
13ac34255c37
child 195
08753eafbf46

Fix MD5 loading check

util/hashes.lua file | annotate | diff | comparison | revisions
--- a/util/hashes.lua	Sun Nov 02 02:23:52 2008 +0500
+++ b/util/hashes.lua	Sun Nov 02 01:19:23 2008 +0000
@@ -23,6 +23,8 @@
 	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;

mercurial