diff options
author | Matthew Wild <mwild1@gmail.com> | 2011-04-05 13:26:43 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2011-04-05 13:26:43 +0100 |
commit | 8c9d841c3d81694d063bd931dbfee0634f53e8f7 (patch) | |
tree | 35cdd4996c2ba4c67a4805bd01e3830d1dc171f5 /util/dependencies.lua | |
parent | 54a5982b5d000a98726601dada57050ac5cb21b4 (diff) | |
parent | ca74173a8221e9cd93db30c7bb89c8b181f8b60b (diff) | |
download | prosody-8c9d841c3d81694d063bd931dbfee0634f53e8f7.tar.gz prosody-8c9d841c3d81694d063bd931dbfee0634f53e8f7.zip |
Merge 0.8->trunk
Diffstat (limited to 'util/dependencies.lua')
-rw-r--r-- | util/dependencies.lua | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/util/dependencies.lua b/util/dependencies.lua index 9371521c..5baea942 100644 --- a/util/dependencies.lua +++ b/util/dependencies.lua @@ -35,6 +35,19 @@ 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 http://prosody.im/doc/packagers#ztact", 0); + else + error("module 'util.ztact' has been deprecated in Prosody 0.8."); + end +end; + function check_dependencies() local fatal; |