Software /
code /
prosody
Diff
util/xmppstream.lua @ 3540:bc139431830b
Monster whitespace commit (beware the whitespace monster).
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Sat, 16 Oct 2010 23:00:42 +0500 |
parent | 3444:e6a78e15fed2 |
child | 3633:4069c37c54bc |
line wrap: on
line diff
--- 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