From 7de06c45c42def40aedb5fae496878995caa4bb9 Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Sun, 18 Oct 2009 01:52:37 +0500 Subject: componentmanager: Let the default component handler handle stanzas if a component handler isn't available. --- core/componentmanager.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'core') 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 -- cgit v1.2.3