aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-10-18 01:52:37 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-10-18 01:52:37 +0500
commit7de06c45c42def40aedb5fae496878995caa4bb9 (patch)
tree24af1ac51f7a29b2efde80841125579ca12f0eae
parent5b180701ce80fbe40a51198e5fce6ca2baa82542 (diff)
downloadprosody-7de06c45c42def40aedb5fae496878995caa4bb9.tar.gz
prosody-7de06c45c42def40aedb5fae496878995caa4bb9.zip
componentmanager: Let the default component handler handle stanzas if a component handler isn't available.
-rw-r--r--core/componentmanager.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/componentmanager.lua b/core/componentmanager.lua
index 2d292c8f..c9e8a4b7 100644
--- a/core/componentmanager.lua
+++ b/core/componentmanager.lua
@@ -67,6 +67,7 @@ function handle_stanza(origin, stanza)
component(origin, stanza, hosts[host]);
else
log("error", "Component manager recieved a stanza for a non-existing component: "..tostring(stanza));
+ default_component_handler(origin, stanza);
end
end