aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-06-25 08:04:10 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-06-25 08:04:10 +0500
commitb1b3a4052281c385807ab80ce6fe985cb672f2a4 (patch)
treeddf25010c099821a8ace14c29d4ea0f17887d250
parentbd3915d382d6e98379df05f65246b69a04ca6140 (diff)
downloadprosody-b1b3a4052281c385807ab80ce6fe985cb672f2a4.tar.gz
prosody-b1b3a4052281c385807ab80ce6fe985cb672f2a4.zip
stanza_router: Call core_post_stanza from core_route_stanza in place of old routing code
-rw-r--r--core/stanza_router.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/stanza_router.lua b/core/stanza_router.lua
index eddeb9cd..9bb58ad5 100644
--- a/core/stanza_router.lua
+++ b/core/stanza_router.lua
@@ -212,6 +212,7 @@ function core_route_stanza(origin, stanza)
local host_session = hosts[host]
if host_session and host_session.type == "local" then
-- old stanza routing code removed
+ core_post_stanza(origin, stanza);
elseif origin.type == "c2s" then
-- Remote host
local xmlns = stanza.attr.xmlns;