mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
util.dependencies: Remove ztact compatability warning
This commit is contained in:
parent
6990069677
commit
9fdfa590d2
1 changed files with 0 additions and 13 deletions
|
@ -33,19 +33,6 @@ local function missingdep(name, sources, msg)
|
|||
print("");
|
||||
end
|
||||
|
||||
-- COMPAT w/pre-0.8 Debian: The Debian config file used to use
|
||||
-- util.ztact, which has been removed from Prosody in 0.8. This
|
||||
-- is to log an error for people who still use it, so they can
|
||||
-- update their configs.
|
||||
package.preload["util.ztact"] = function ()
|
||||
if not package.loaded["core.loggingmanager"] then
|
||||
error("util.ztact has been removed from Prosody and you need to fix your config "
|
||||
.."file. More information can be found at https://prosody.im/doc/packagers#ztact", 0);
|
||||
else
|
||||
error("module 'util.ztact' has been deprecated in Prosody 0.8.");
|
||||
end
|
||||
end;
|
||||
|
||||
local function check_dependencies()
|
||||
if _VERSION < "Lua 5.1" then
|
||||
print "***********************************"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue