aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2012-09-23 01:11:20 +0500
committerWaqas Hussain <waqas20@gmail.com>2012-09-23 01:11:20 +0500
commit4b8ade497e9541fe441c9100539022d41635c01a (patch)
tree461f26364b66f826b636de7f56f3536ed210d702
parent0cf860fc7a3f78c4a6171b93107e1e225e6bded7 (diff)
downloadprosody-4b8ade497e9541fe441c9100539022d41635c01a.tar.gz
prosody-4b8ade497e9541fe441c9100539022d41635c01a.zip
prosodyctl: Make sure hosts[*].modules always exists.
-rwxr-xr-xprosodyctl1
1 files changed, 1 insertions, 0 deletions
diff --git a/prosodyctl b/prosodyctl
index d4aa6d5e..caa5d0cf 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -225,6 +225,7 @@ local function make_host(hostname)
return {
type = "local",
events = prosody.events,
+ modules = {},
users = require "core.usermanager".new_null_provider(hostname)
};
end