equal
deleted
inserted
replaced
47 error("module 'util.ztact' has been deprecated in Prosody 0.8."); |
47 error("module 'util.ztact' has been deprecated in Prosody 0.8."); |
48 end |
48 end |
49 end; |
49 end; |
50 |
50 |
51 function check_dependencies() |
51 function check_dependencies() |
|
52 if _VERSION ~= "Lua 5.1" then |
|
53 print "***********************************" |
|
54 print("Unsupported Lua version: ".._VERSION); |
|
55 print("Only Lua 5.1 is supported."); |
|
56 print "***********************************" |
|
57 return false; |
|
58 end |
|
59 |
52 local fatal; |
60 local fatal; |
53 |
61 |
54 local lxp = softreq "lxp" |
62 local lxp = softreq "lxp" |
55 |
63 |
56 if not lxp then |
64 if not lxp then |