Software /
code /
prosody
Changeset
3605:b8208f5e612a
prosody: Added a stub implementation of core.componentmanager to the package.loaded table.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Wed, 10 Nov 2010 21:47:39 +0500 |
parents | 3604:3e89f0509967 |
children | 3606:c52b06de9b27 |
files | prosody |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/prosody Wed Nov 10 20:59:16 2010 +0500 +++ b/prosody Wed Nov 10 21:47:39 2010 +0500 @@ -310,6 +310,10 @@ 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"