Software /
code /
prosody-modules
Diff
mod_proxy65/mod_proxy65.lua @ 74:d70813f7d90a
mod_proxy65: make it work again
author | Thilo Cestonaro <thilo@cestona.ro> |
---|---|
date | Sat, 31 Oct 2009 21:00:02 +0100 |
parent | 73:adb9d1b879c2 |
child | 77:85b8622ccffd |
line wrap: on
line diff
--- a/mod_proxy65/mod_proxy65.lua Sat Oct 31 20:53:52 2009 +0100 +++ b/mod_proxy65/mod_proxy65.lua Sat Oct 31 21:00:02 2009 +0100 @@ -136,7 +136,7 @@ module.unload = function() componentmanager.deregister_component(host); - connlisteners.deregister("proxy65"); + connlisteners.deregister(module.host .. ':proxy65'); end local function set_activation(stanza) @@ -195,5 +195,5 @@ error(" one possible cause for this would be that two proxy65 components share the same port."); end -connlisteners.start('proxy65'); +connlisteners.start(module.host .. ':proxy65'); component = componentmanager.register_component(host, handle_to_domain);