Software /
code /
prosody
Changeset
4612:8bb93860fe46
portmanager: Fire service-removed on unregister
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 14 Mar 2012 23:44:24 +0000 |
parents | 4611:8572373fa26f |
children | 4613:27fbc9c69eb5 |
files | core/portmanager.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/core/portmanager.lua Wed Mar 14 21:43:46 2012 +0000 +++ b/core/portmanager.lua Wed Mar 14 23:44:24 2012 +0000 @@ -155,6 +155,7 @@ activate(service_name); -- Re-activate with the next available one end end + fire_event("service-removed", { name = service_name, service = service_info }); end function get_service(service_name)