aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_c2s.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mod_c2s.lua')
-rw-r--r--plugins/mod_c2s.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_c2s.lua b/plugins/mod_c2s.lua
index e9b24f69..dabed021 100644
--- a/plugins/mod_c2s.lua
+++ b/plugins/mod_c2s.lua
@@ -249,7 +249,7 @@ function listener.associate_session(conn, session)
sessions[conn] = session;
end
-module:add_item("net-provider", {
+module:provides("net", {
name = "c2s";
listener = listener;
default_port = 5222;
@@ -259,7 +259,7 @@ module:add_item("net-provider", {
};
});
-module:add_item("net-provider", {
+module:provides("net", {
name = "legacy_ssl";
listener = listener;
encryption = "ssl";