aboutsummaryrefslogtreecommitdiffstats
path: root/util/xmppstream.lua
diff options
context:
space:
mode:
Diffstat (limited to 'util/xmppstream.lua')
-rw-r--r--util/xmppstream.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/util/xmppstream.lua b/util/xmppstream.lua
index bab0f253..2763b000 100644
--- a/util/xmppstream.lua
+++ b/util/xmppstream.lua
@@ -268,8 +268,7 @@ local function new(session, stream_callbacks, stanza_size_limit)
if session.stream_attrs then
session:stream_attrs(from, to, attr)
end
- send("<?xml version='1.0'?>");
- send(st.stanza("stream:stream", attr):top_tag());
+ send("<?xml version='1.0'?>"..st.stanza("stream:stream", attr):top_tag());
return true;
end