Changeset

979:d0fd49c4339c

mod_component: Update for new net_activate_ports
author Matthew Wild <mwild1@gmail.com>
date Fri, 10 Apr 2009 10:49:58 +0100
parents 978:a9898f54b402
children 980:b52d442161f2
files plugins/mod_component.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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