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
commit7366c85253a3e1dddb35f8eea2c2fd45996c7f1b (patch)
tree0feeeec1932f3816926f8c5e3c254fafbcdb7c22 /core/portmanager.lua
parent437ed35fad3be0ce72b97400dfc765c370e3cf2b (diff)
downloadprosody-7366c85253a3e1dddb35f8eea2c2fd45996c7f1b.tar.gz
prosody-7366c85253a3e1dddb35f8eea2c2fd45996c7f1b.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)