# HG changeset patch # User Matthew Wild # Date 1239356998 -3600 # Node ID d0fd49c4339c1c5fc4f633435c6cd665b95809ce # Parent a9898f54b40246b26eab39207fcf292f7597bd7d mod_component: Update for new net_activate_ports diff -r a9898f54b402 -r d0fd49c4339c plugins/mod_component.lua --- a/plugins/mod_component.lua Fri Apr 10 10:49:32 2009 +0100 +++ b/plugins/mod_component.lua Fri Apr 10 10:49:58 2009 +0100 @@ -211,7 +211,7 @@ 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