aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/s2s/mod_s2s.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2012-02-22 23:14:21 +0100
committerKim Alvefur <zash@zash.se>2012-02-22 23:14:21 +0100
commit364c78e2497fcc5d2e285970c48935e88a0261ff (patch)
tree6b6228c8c41236a4266855cb3afaace489ce0dfb /plugins/s2s/mod_s2s.lua
parent6193d32da9e97508e62c3f4dfb0eb4d1a129c72a (diff)
downloadprosody-364c78e2497fcc5d2e285970c48935e88a0261ff.tar.gz
prosody-364c78e2497fcc5d2e285970c48935e88a0261ff.zip
mod_s2s: Fix typo
Diffstat (limited to 'plugins/s2s/mod_s2s.lua')
-rw-r--r--plugins/s2s/mod_s2s.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/s2s/mod_s2s.lua b/plugins/s2s/mod_s2s.lua
index 219e6952..7c0a99de 100644
--- a/plugins/s2s/mod_s2s.lua
+++ b/plugins/s2s/mod_s2s.lua
@@ -192,7 +192,7 @@ function stream_callbacks.streamopened(session, attr)
if session.secure and not session.cert_chain_status then check_cert_status(session); end
send("<?xml version='1.0'?>");
- send(stanza("stream:stream", { xmlns='jabber:server', ["xmlns:db"]='jabber:server:dialback',
+ send(st.stanza("stream:stream", { xmlns='jabber:server', ["xmlns:db"]='jabber:server:dialback',
["xmlns:stream"]='http://etherx.jabber.org/streams', id=session.streamid, from=session.to_host, to=session.from_host, version=(session.version > 0 and "1.0" or nil) }):top_tag());
if session.version >= 1.0 then
local features = st.stanza("stream:features");