Comparison

plugins/mod_s2s/mod_s2s.lua @ 5365:cd480ea490f1

mod_s2s: Remove unused variable
author Matthew Wild <mwild1@gmail.com>
date Fri, 22 Mar 2013 14:31:14 +0000
parent 5363:f29c26da7ecc
child 5368:ab31dbb3a415
comparison
equal deleted inserted replaced
5363:f29c26da7ecc 5365:cd480ea490f1
421 421
422 local listener = {}; 422 local listener = {};
423 423
424 --- Session methods 424 --- Session methods
425 local stream_xmlns_attr = {xmlns='urn:ietf:params:xml:ns:xmpp-streams'}; 425 local stream_xmlns_attr = {xmlns='urn:ietf:params:xml:ns:xmpp-streams'};
426 local default_stream_attr = { ["xmlns:stream"] = "http://etherx.jabber.org/streams", xmlns = stream_callbacks.default_ns, version = "1.0", id = "" };
427 local function session_close(session, reason, remote_reason) 426 local function session_close(session, reason, remote_reason)
428 local log = session.log or log; 427 local log = session.log or log;
429 if session.conn then 428 if session.conn then
430 if session.notopen then 429 if session.notopen then
431 session:open_stream() 430 session:open_stream()