aboutsummaryrefslogtreecommitdiffstats
path: root/prosody
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2010-12-07 22:55:28 +0500
committerWaqas Hussain <waqas20@gmail.com>2010-12-07 22:55:28 +0500
commitd526ad02d79ffae2c100d1018c9a928aa78c498f (patch)
treeb36440f8cb10d25e760470f89d81e759cf2138a0 /prosody
parent9c7aa289b6c94fc5e384415b6d6be911e9136d4d (diff)
downloadprosody-d526ad02d79ffae2c100d1018c9a928aa78c498f.tar.gz
prosody-d526ad02d79ffae2c100d1018c9a928aa78c498f.zip
prosody: Added a stub implementation of core.componentmanager to the package.loaded table (re-commiting, as this was accidentally removed).
Diffstat (limited to 'prosody')
-rwxr-xr-xprosody4
1 files changed, 4 insertions, 0 deletions
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"