From f1e8114ae5277835cf1bc980d20fb71197ab536b Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Mon, 14 May 2012 17:58:51 +0200 Subject: prosody, stanza_router: Load stanza_router earlier. Put routing functions in the global prosody table. Fixes module:send() --- prosody | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'prosody') diff --git a/prosody b/prosody index 64021fd3..52488639 100755 --- a/prosody +++ b/prosody @@ -279,12 +279,12 @@ function load_secondary_libraries() require "util.import" require "util.xmppstream" require "core.rostermanager" + require "core.stanza_router" require "core.hostmanager" require "core.portmanager" require "core.modulemanager" 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[ \t]*([^\n]*)")); return function() end -- cgit v1.2.3