diff options
author | Matthew Wild <mwild1@gmail.com> | 2012-03-15 16:31:10 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2012-03-15 16:31:10 +0000 |
commit | fa8c54baebec2d023dae4a587aafde9f0ff49ac6 (patch) | |
tree | c514b763f2dcc2180c38c357f50c2499aabcd0d2 /plugins/mod_c2s.lua | |
parent | cd9f57bc12a5c99c86465c7ee209851081593161 (diff) | |
download | prosody-fa8c54baebec2d023dae4a587aafde9f0ff49ac6.tar.gz prosody-fa8c54baebec2d023dae4a587aafde9f0ff49ac6.zip |
mod_c2s, mod_s2s: Drop default_port and default_mode from listener objects (default_port is deprecated, and default_mode already defaults to *a)
Diffstat (limited to 'plugins/mod_c2s.lua')
-rw-r--r-- | plugins/mod_c2s.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_c2s.lua b/plugins/mod_c2s.lua index 67156f55..12d10b18 100644 --- a/plugins/mod_c2s.lua +++ b/plugins/mod_c2s.lua @@ -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'}; |