Diff

plugins/s2s/mod_s2s.lua @ 4625:325965bafae1

mod_c2s, mod_s2s: Drop default_port and default_mode from listener objects (default_port is deprecated, and default_mode already defaults to *a)
author Matthew Wild <mwild1@gmail.com>
date Thu, 15 Mar 2012 16:31:10 +0000
parent 4622:9eccb5a27989
child 4630:9502c0224caf
line wrap: on
line diff
--- a/plugins/s2s/mod_s2s.lua	Thu Mar 15 16:29:30 2012 +0000
+++ b/plugins/s2s/mod_s2s.lua	Thu Mar 15 16:31:10 2012 +0000
@@ -317,7 +317,7 @@
 	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'};