diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-06-29 14:13:49 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-06-29 14:13:49 +0100 |
commit | c1671142d38ccd0a9295b4c7ea3f4d2d90e572e8 (patch) | |
tree | a3e28c47c0020627f7ebb008d1e410f67006082a /core/componentmanager.lua | |
parent | d28fa4c70b359a54223244ec5b98fa5965e0028a (diff) | |
parent | 9ae52811fea92946f5377eb2c3fcadfe22700aca (diff) | |
download | prosody-c1671142d38ccd0a9295b4c7ea3f4d2d90e572e8.tar.gz prosody-c1671142d38ccd0a9295b4c7ea3f4d2d90e572e8.zip |
Automated merge with http://waqas.ath.cx:8000/
Diffstat (limited to 'core/componentmanager.lua')
-rw-r--r-- | core/componentmanager.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/componentmanager.lua b/core/componentmanager.lua index e375e3bd..970cdd86 100644 --- a/core/componentmanager.lua +++ b/core/componentmanager.lua @@ -17,6 +17,7 @@ local jid_split = require "util.jid".split; local events_new = require "util.events".new; local st = require "util.stanza"; local hosts = hosts; +local serialize = require "util.serialization".serialize local pairs, type, tostring = pairs, type, tostring; @@ -75,7 +76,7 @@ function handle_stanza(origin, stanza) log("debug", "%s stanza being handled by component: %s", stanza.name, host); component(origin, stanza, hosts[host]); else - log("error", "Component manager recieved a stanza for a non-existing component: " .. (stanza.attr.to or stanza)); + log("error", "Component manager recieved a stanza for a non-existing component: " .. (stanza.attr.to or serialize(stanza))); end end |