changeset 3540 | bc139431830b |
parent 3444 | e6a78e15fed2 |
child 3633 | 4069c37c54bc |
--- a/util/xmppstream.lua Sat Oct 16 08:34:32 2010 +0500 +++ b/util/xmppstream.lua Sat Oct 16 23:00:42 2010 +0500 @@ -69,8 +69,8 @@ attr[i] = nil; local ns, nm = k:match(ns_pattern); if nm ~= "" then - ns = ns_prefixes[ns]; - if ns then + ns = ns_prefixes[ns]; + if ns then attr[ns..":"..nm] = attr[k]; attr[k] = nil; end