aboutsummaryrefslogtreecommitdiffstats
path: root/core/portmanager.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-03-14 23:44:24 +0000
committerMatthew Wild <mwild1@gmail.com>2012-03-14 23:44:24 +0000
commit591bcc96e66cb00ac85d416899a61733d12cb6f0 (patch)
tree0feeeec1932f3816926f8c5e3c254fafbcdb7c22 /core/portmanager.lua
parent16c3e94d0fecaeb4cc91cfe8c1c5cc0832116664 (diff)
downloadprosody-591bcc96e66cb00ac85d416899a61733d12cb6f0.tar.gz
prosody-591bcc96e66cb00ac85d416899a61733d12cb6f0.zip
portmanager: Fire service-removed on unregister
Diffstat (limited to 'core/portmanager.lua')
-rw-r--r--core/portmanager.lua1
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)