aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_component.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-04-10 10:49:58 +0100
committerMatthew Wild <mwild1@gmail.com>2009-04-10 10:49:58 +0100
commitb0107266fcb030389ec121cc0be7528fed218ee1 (patch)
tree1152b56b8bd9b2772623b3f68cc885cf88fb2992 /plugins/mod_component.lua
parent06626f77c6abf544089fd9ebacca1940e34d35ae (diff)
downloadprosody-b0107266fcb030389ec121cc0be7528fed218ee1.tar.gz
prosody-b0107266fcb030389ec121cc0be7528fed218ee1.zip
mod_component: Update for new net_activate_ports
Diffstat (limited to 'plugins/mod_component.lua')
-rw-r--r--plugins/mod_component.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_component.lua b/plugins/mod_component.lua
index dbb52bf2..f06264c3 100644
--- a/plugins/mod_component.lua
+++ b/plugins/mod_component.lua
@@ -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