aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/xmppclient_listener.lua2
-rw-r--r--net/xmppserver_listener.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/net/xmppclient_listener.lua b/net/xmppclient_listener.lua
index 0f5511b4..369860e2 100644
--- a/net/xmppclient_listener.lua
+++ b/net/xmppclient_listener.lua
@@ -19,7 +19,7 @@ local st = stanza;
local stream_callbacks = { streamopened = sm_streamopened, streamclosed = sm_streamclosed };
local sessions = {};
-local xmppclient = { default_port = 5222 };
+local xmppclient = { default_port = 5222, default_mode = "*a" };
-- These are session methods --
diff --git a/net/xmppserver_listener.lua b/net/xmppserver_listener.lua
index cd9a3460..3364f90b 100644
--- a/net/xmppserver_listener.lua
+++ b/net/xmppserver_listener.lua
@@ -21,7 +21,7 @@ local sm_new_session, sm_destroy_session = sessionmanager.new_session, sessionma
local st = stanza;
local sessions = {};
-local xmppserver = { default_port = 5269 };
+local xmppserver = { default_port = 5269, default_mode = "*a" };
-- These are session methods --