From d526ad02d79ffae2c100d1018c9a928aa78c498f Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Tue, 7 Dec 2010 22:55:28 +0500 Subject: prosody: Added a stub implementation of core.componentmanager to the package.loaded table (re-commiting, as this was accidentally removed). --- prosody | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/prosody b/prosody index ccd28ec6..7bc075d7 100755 --- a/prosody +++ b/prosody @@ -293,6 +293,10 @@ function load_secondary_libraries() 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" -- cgit v1.2.3