Software /
code /
prosody
Comparison
plugins/s2s/mod_s2s.lua @ 4601:4007b9f9aa5f
mod_s2s: Remove obsolete default_interface
author | Florian Zeitz <florob@babelmonkeys.de> |
---|---|
date | Sun, 11 Mar 2012 20:15:42 +0100 |
parent | 4593:470f502f02a3 |
child | 4610:171051f9dd00 |
child | 4621:0445a543ae57 |
comparison
equal
deleted
inserted
replaced
4600:869f38f1eee4 | 4601:4007b9f9aa5f |
---|---|
318 if stanza then | 318 if stanza then |
319 return xpcall(function () return core_process_stanza(session, stanza) end, handleerr); | 319 return xpcall(function () return core_process_stanza(session, stanza) end, handleerr); |
320 end | 320 end |
321 end | 321 end |
322 | 322 |
323 local listener = { default_port = 5269, default_mode = "*a", default_interface = "*" }; | 323 local listener = { default_port = 5269, default_mode = "*a" }; |
324 | 324 |
325 --- Session methods | 325 --- Session methods |
326 local stream_xmlns_attr = {xmlns='urn:ietf:params:xml:ns:xmpp-streams'}; | 326 local stream_xmlns_attr = {xmlns='urn:ietf:params:xml:ns:xmpp-streams'}; |
327 local default_stream_attr = { ["xmlns:stream"] = "http://etherx.jabber.org/streams", xmlns = stream_callbacks.default_ns, version = "1.0", id = "" }; | 327 local default_stream_attr = { ["xmlns:stream"] = "http://etherx.jabber.org/streams", xmlns = stream_callbacks.default_ns, version = "1.0", id = "" }; |
328 local function session_close(session, reason, remote_reason) | 328 local function session_close(session, reason, remote_reason) |