mirror of
https://github.com/bjc/prosody.git
synced 2025-04-05 06:07:37 +03:00
mod_component: Update for new net_activate_ports
This commit is contained in:
parent
06626f77c6
commit
b0107266fc
1 changed files with 1 additions and 1 deletions
|
@ -211,7 +211,7 @@ connlisteners.register('component', component_listener);
|
|||
module:add_event_hook("server-started",
|
||||
function ()
|
||||
if net_activate_ports then
|
||||
net_activate_ports("component_ports", "component", {5437}, "tcp");
|
||||
net_activate_ports("component", "component", {5437}, "tcp");
|
||||
else
|
||||
error("No net_activate_ports: Using an incompatible version of Prosody?");
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue