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:
Matthew Wild 2012-03-15 16:31:10 +00:00
parent 60b203533d
commit fdd0bb03e8
2 changed files with 2 additions and 2 deletions

View file

@ -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'};