aboutsummaryrefslogtreecommitdiffstats
path: root/util/xmppstream.lua
diff options
context:
space:
mode:
Diffstat (limited to 'util/xmppstream.lua')
-rw-r--r--util/xmppstream.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/xmppstream.lua b/util/xmppstream.lua
index d22c923b..2f232fd8 100644
--- a/util/xmppstream.lua
+++ b/util/xmppstream.lua
@@ -69,8 +69,8 @@ function new_sax_handlers(session, stream_callbacks)
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