Changeset

194:4ea1ec218976

Fix MD5 loading check
author Matthew Wild <mwild1@gmail.com>
date Sun, 02 Nov 2008 01:19:23 +0000
parents 193:13ac34255c37
children 195:08753eafbf46
files util/hashes.lua
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;