Added to a comment

This commit is contained in:
Waqas Hussain 2008-10-08 17:06:51 +05:00
parent 2a24a95401
commit e6b3e32fb7

View file

@ -15,7 +15,7 @@ local jid_split = jid.split;
function core_process_stanza(origin, stanza)
log("debug", "Received: "..tostring(stanza))
-- TODO verify validity of stanza
-- TODO verify validity of stanza (as well as JID validity)
local to = stanza.attr.to;
stanza.attr.from = origin.full_jid -- quick fix to prevent impersonation