diff options
author | Matthew Wild <mwild1@gmail.com> | 2012-03-14 23:44:24 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2012-03-14 23:44:24 +0000 |
commit | 7366c85253a3e1dddb35f8eea2c2fd45996c7f1b (patch) | |
tree | 0feeeec1932f3816926f8c5e3c254fafbcdb7c22 | |
parent | 437ed35fad3be0ce72b97400dfc765c370e3cf2b (diff) | |
download | prosody-7366c85253a3e1dddb35f8eea2c2fd45996c7f1b.tar.gz prosody-7366c85253a3e1dddb35f8eea2c2fd45996c7f1b.zip |
portmanager: Fire service-removed on unregister
-rw-r--r-- | core/portmanager.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/portmanager.lua b/core/portmanager.lua index a7ba8a49..605e1e30 100644 --- a/core/portmanager.lua +++ b/core/portmanager.lua @@ -155,6 +155,7 @@ function unregister_service(service_name, service_info) 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) |