Software /
code /
prosody
Diff
prosody @ 3705:ddbac8737c2d
prosody: Added a stub implementation of core.componentmanager to the package.loaded table (re-commiting, as this was accidentally removed).
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Tue, 07 Dec 2010 22:55:28 +0500 |
parent | 3609:954b1159f2f3 |
child | 3713:3e4fbf6666ae |
line wrap: on
line diff
--- a/prosody Mon Dec 06 18:51:45 2010 +0000 +++ b/prosody Tue Dec 07 22:55:28 2010 +0500 @@ -293,6 +293,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"