projects
/
prosody.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
core.s2smanager, xmppserver_listener: Move the responsibility of setting session...
[prosody.git]
/
core
/
componentmanager.lua
diff --git
a/core/componentmanager.lua
b/core/componentmanager.lua
index e375e3bd8b517552f44686375d0fa09eb57fca98..08868236e76a8c7f1ef36f1c6897947bed020c85 100644
(file)
--- a/
core/componentmanager.lua
+++ b/
core/componentmanager.lua
@@
-1,4
+1,4
@@
--- Prosody IM
v0.4
+-- Prosody IM
-- Copyright (C) 2008-2009 Matthew Wild
-- Copyright (C) 2008-2009 Waqas Hussain
--
-- Copyright (C) 2008-2009 Matthew Wild
-- Copyright (C) 2008-2009 Waqas Hussain
--
@@
-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 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;
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("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 s
tanza
));
+ log("error", "Component manager recieved a stanza for a non-existing component: " .. (stanza.attr.to or s
erialize(stanza)
));
end
end
end
end