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 | d526ad02d79ffae2c100d1018c9a928aa78c498f (patch) | |
tree | b36440f8cb10d25e760470f89d81e759cf2138a0 | |
parent | 9c7aa289b6c94fc5e384415b6d6be911e9136d4d (diff) | |
download | prosody-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).
-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" |