Show error when no MD5 lib available

Fri, 24 Oct 2008 14:46:22 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Fri, 24 Oct 2008 14:46:22 +0100
changeset 155
8c9a9f6f6455
parent 154
1fee9396ca2f
child 156
884c43c7028a

Show error when no MD5 lib available

util/hashes.lua file | annotate | diff | comparison | revisions
--- a/util/hashes.lua	Fri Oct 24 14:45:50 2008 +0100
+++ b/util/hashes.lua	Fri Oct 24 14:46:22 2008 +0100
@@ -1,5 +1,6 @@
 
 local softreq = function (...) return select(2, pcall(require, ...)); end
+local error = error;
 
 module "hashes"
 

mercurial