diff options
author | Waqas Hussain <waqas20@gmail.com> | 2010-12-07 22:55:28 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2010-12-07 22:55:28 +0500 |
commit | 0a926a7532fc2f33c123722061fe243179f6e4c2 (patch) | |
tree | 667d4dc2807abe2b4d37b8ee32d20f87a04d6b04 | |
parent | e79d0b6b5683ffcc00299a807a7f4375c7faae89 (diff) | |
download | prosody-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).
-rwxr-xr-x | prosody | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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" |