aboutsummaryrefslogtreecommitdiffstats
path: root/prosody
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2010-11-10 21:47:39 +0500
committerWaqas Hussain <waqas20@gmail.com>2010-11-10 21:47:39 +0500
commitce98a648ffeb0912544fa5b06c6007ab98822170 (patch)
tree479177d8c49597380f707506ae233b4e65cfd954 /prosody
parentd38fc9dce0db97545b1f8b5dd79be2868bd66c93 (diff)
downloadprosody-ce98a648ffeb0912544fa5b06c6007ab98822170.tar.gz
prosody-ce98a648ffeb0912544fa5b06c6007ab98822170.zip
prosody: Added a stub implementation of core.componentmanager to the package.loaded table.
Diffstat (limited to 'prosody')
-rwxr-xr-xprosody4
1 files changed, 4 insertions, 0 deletions
diff --git a/prosody b/prosody
index 65fb1632..fdfee2b4 100755
--- a/prosody
+++ b/prosody
@@ -310,6 +310,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"