Software /
code /
prosody
Diff
plugins/mod_component.lua @ 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 |
parent | 959:e3db909065f2 |
child | 981:71fce47dff7b |
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