Software /
code /
prosody
Diff
util/startup.lua @ 8958:b10a37f6f75f
util.startup: Add a comment marking some compat code
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 01 Jul 2018 23:22:55 +0200 |
parent | 8882:a420b386a72a |
child | 9214:8b2b8f1a911f |
line wrap: on
line diff
--- a/util/startup.lua Sun Jul 01 04:46:39 2018 +0200 +++ b/util/startup.lua Sun Jul 01 23:22:55 2018 +0200 @@ -284,6 +284,7 @@ require "core.rostermanager" require "core.sessionmanager" package.loaded['core.componentmanager'] = setmetatable({},{__index=function() + -- COMPAT which version? log("warn", "componentmanager is deprecated: %s", debug.traceback():match("\n[^\n]*\n[ \t]*([^\n]*)")); return function() end end});