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
commitcd5d3720906551c962e82d2a741aba2c3507b9ca (patch)
treeef3f72fe0912aa54986a9c63edff3a8915c93178 /core
parente8fa3940a7d6cf962170b37d8897a8217f87bafe (diff)
downloadprosody-cd5d3720906551c962e82d2a741aba2c3507b9ca.tar.gz
prosody-cd5d3720906551c962e82d2a741aba2c3507b9ca.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)