Fix MD5 loading check
authorMatthew Wild <mwild1@gmail.com>
Sun, 2 Nov 2008 01:19:23 +0000 (01:19 +0000)
committerMatthew Wild <mwild1@gmail.com>
Sun, 2 Nov 2008 01:19:23 +0000 (01:19 +0000)
util/hashes.lua

index 8273fcf90c47591e3e2789f5e892e23ac7239612..5ed9d3acfd73bf7f17bd24379158556eb12220ef 100644 (file)
@@ -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;