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
commit0a926a7532fc2f33c123722061fe243179f6e4c2 (patch)
tree667d4dc2807abe2b4d37b8ee32d20f87a04d6b04 /prosody
parente79d0b6b5683ffcc00299a807a7f4375c7faae89 (diff)
downloadprosody-0a926a7532fc2f33c123722061fe243179f6e4c2.tar.gz
prosody-0a926a7532fc2f33c123722061fe243179f6e4c2.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"