aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/s2s/mod_s2s.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-03-15 16:31:10 +0000
committerMatthew Wild <mwild1@gmail.com>2012-03-15 16:31:10 +0000
commitfdd0bb03e8e6b19b7eb68f33594ecace655dc4bc (patch)
treec514b763f2dcc2180c38c357f50c2499aabcd0d2 /plugins/s2s/mod_s2s.lua
parent60b203533dbbb0404d9641e6455aaf6dad916dcb (diff)
downloadprosody-fdd0bb03e8e6b19b7eb68f33594ecace655dc4bc.tar.gz
prosody-fdd0bb03e8e6b19b7eb68f33594ecace655dc4bc.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/s2s/mod_s2s.lua')
-rw-r--r--plugins/s2s/mod_s2s.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/s2s/mod_s2s.lua b/plugins/s2s/mod_s2s.lua
index ad7f4862..e1102528 100644
--- a/plugins/s2s/mod_s2s.lua
+++ b/plugins/s2s/mod_s2s.lua
@@ -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'};