aboutsummaryrefslogtreecommitdiffstats
path: root/prosodyctl
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
commit3372542ef49a57b03aa7a2e1629bc1124346c584 (patch)
tree461f26364b66f826b636de7f56f3536ed210d702 /prosodyctl
parentf4bd74968a626f3e3aa1639c70dae2c2f33db39e (diff)
downloadprosody-3372542ef49a57b03aa7a2e1629bc1124346c584.tar.gz
prosody-3372542ef49a57b03aa7a2e1629bc1124346c584.zip
prosodyctl: Make sure hosts[*].modules always exists.
Diffstat (limited to 'prosodyctl')
-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