mirror of
https://github.com/bjc/prosody.git
synced 2025-04-05 22:27:38 +03:00
mod_c2s, mod_s2s: Drop default_port and default_mode from listener objects (default_port is deprecated, and default_mode already defaults to *a)
This commit is contained in:
parent
60b203533d
commit
fdd0bb03e8
2 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@ local opt_keepalives = module:get_option_boolean("tcp_keepalives", false);
|
|||
local sessions = module:shared("sessions");
|
||||
|
||||
local stream_callbacks = { default_ns = "jabber:client", handlestanza = core_process_stanza };
|
||||
local listener = { default_port = 5222, default_mode = "*a" };
|
||||
local listener = {};
|
||||
|
||||
--- Stream events handlers
|
||||
local stream_xmlns_attr = {xmlns='urn:ietf:params:xml:ns:xmpp-streams'};
|
||||
|
|
|
@ -317,7 +317,7 @@ function stream_callbacks.handlestanza(session, stanza)
|
|||
end
|
||||
end
|
||||
|
||||
local listener = { default_port = 5269, default_mode = "*a" };
|
||||
local listener = {};
|
||||
|
||||
--- Session methods
|
||||
local stream_xmlns_attr = {xmlns='urn:ietf:params:xml:ns:xmpp-streams'};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue