Diff

plugins/mod_c2s.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 4620:e9dc6ae68c69
child 4626:9df9e87d0339
line wrap: on
line diff
--- a/plugins/mod_c2s.lua	Thu Mar 15 16:29:30 2012 +0000
+++ b/plugins/mod_c2s.lua	Thu Mar 15 16:31:10 2012 +0000
@@ -31,7 +31,7 @@
 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'};