aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2010-12-09 21:12:39 +0500
committerWaqas Hussain <waqas20@gmail.com>2010-12-09 21:12:39 +0500
commit092aa80e313ed37585790991b91d56edbb950d9f (patch)
tree41722d1542a161aaec156f94bb09eefa8860ea13 /core
parent1b1f622cd24777f63d0cc100ab6dfe28e0ca6cdb (diff)
downloadprosody-092aa80e313ed37585790991b91d56edbb950d9f.tar.gz
prosody-092aa80e313ed37585790991b91d56edbb950d9f.zip
hostmanager: deactivate() now returns true on success.
Diffstat (limited to 'core')
-rw-r--r--core/hostmanager.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/hostmanager.lua b/core/hostmanager.lua
index fddf1769..9a70a272 100644
--- a/core/hostmanager.lua
+++ b/core/hostmanager.lua
@@ -130,6 +130,7 @@ function deactivate(host, reason)
end
prosody_events.fire_event("host-deactivated", host);
log("info", "Deactivated host: %s", host);
+ return true;
end
function get_children(host)