Software /
code /
prosody
Diff
core/portmanager.lua @ 4612:8bb93860fe46
portmanager: Fire service-removed on unregister
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 14 Mar 2012 23:44:24 +0000 |
parent | 4609:83a5377ffea2 |
child | 4615:29a9988c1e1b |
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)