aboutsummaryrefslogtreecommitdiffstats
path: root/prosody
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2012-05-14 17:58:51 +0200
committerKim Alvefur <zash@zash.se>2012-05-14 17:58:51 +0200
commit1ef9002349617281dd0ea8de565ba07b0d712073 (patch)
treef1a21a2f0d1c4c04aacb1665e81cf4acbef9f351 /prosody
parentmuc.lib: room:set_historylength(): Condense code, and don't store length when equal to default (diff)
downloadprosody-1ef9002349617281dd0ea8de565ba07b0d712073.tar.xz
prosody-1ef9002349617281dd0ea8de565ba07b0d712073.zip
prosody, stanza_router: Load stanza_router earlier. Put routing functions in the global prosody table. Fixes module:send()
Diffstat (limited to 'prosody')
-rwxr-xr-xprosody2
1 files changed, 1 insertions, 1 deletions
diff --git a/prosody b/prosody
index 64021fd32..52488639c 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