Comparison

plugins/s2s/mod_s2s.lua @ 4559:e2ee6aa50b6c

mod_s2s: Fix typo
author Kim Alvefur <zash@zash.se>
date Wed, 22 Feb 2012 23:14:21 +0100
parent 4558:d312c8605ed7
child 4560:edd775310112
comparison
equal deleted inserted replaced
4558:d312c8605ed7 4559:e2ee6aa50b6c
190 end 190 end
191 191
192 if session.secure and not session.cert_chain_status then check_cert_status(session); end 192 if session.secure and not session.cert_chain_status then check_cert_status(session); end
193 193
194 send("<?xml version='1.0'?>"); 194 send("<?xml version='1.0'?>");
195 send(stanza("stream:stream", { xmlns='jabber:server', ["xmlns:db"]='jabber:server:dialback', 195 send(st.stanza("stream:stream", { xmlns='jabber:server', ["xmlns:db"]='jabber:server:dialback',
196 ["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()); 196 ["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());
197 if session.version >= 1.0 then 197 if session.version >= 1.0 then
198 local features = st.stanza("stream:features"); 198 local features = st.stanza("stream:features");
199 199
200 if session.to_host then 200 if session.to_host then