mod_component: Update for new net_activate_ports

This commit is contained in:
Matthew Wild 2009-04-10 10:49:58 +01:00
parent 06626f77c6
commit b0107266fc

View file

@ -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