diff options
author | Waqas Hussain <waqas20@gmail.com> | 2010-11-10 21:47:39 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2010-11-10 21:47:39 +0500 |
commit | ce98a648ffeb0912544fa5b06c6007ab98822170 (patch) | |
tree | 479177d8c49597380f707506ae233b4e65cfd954 | |
parent | d38fc9dce0db97545b1f8b5dd79be2868bd66c93 (diff) | |
download | prosody-ce98a648ffeb0912544fa5b06c6007ab98822170.tar.gz prosody-ce98a648ffeb0912544fa5b06c6007ab98822170.zip |
prosody: Added a stub implementation of core.componentmanager to the package.loaded table.
-rwxr-xr-x | prosody | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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" |