Wed, 10 Nov 2010 21:47:39 +0500
prosody: Added a stub implementation of core.componentmanager to the package.loaded table.
prosody | file | annotate | diff | comparison | revisions |
--- a/prosody Wed Nov 10 20:59:16 2010 +0500 +++ b/prosody Wed Nov 10 21:47:39 2010 +0500 @@ -310,6 +310,10 @@ require "core.usermanager" require "core.sessionmanager" require "core.stanza_router" + package.loaded['core.componentmanager'] = setmetatable({},{__index=function() + log("warn", "componentmanager is deprecated: %s", debug.traceback():match("\n[^\n]*\n[\s\t]*([^\n]*)")); + return function() end + end}); require "net.http"