From 6df10675c84773ce9e6c5b156b541d53f8b89119 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Sun, 2 Nov 2008 01:19:23 +0000 Subject: Fix MD5 loading check --- util/hashes.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'util/hashes.lua') 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; -- cgit v1.2.3