# HG changeset patch # User Waqas Hussain # Date 1348344680 -18000 # Node ID 3221746f4769476414937c3551060c6426777444 # Parent 43c5227fdd3ba7c8a4f0cce6bb47c88e08f0bb42 prosodyctl: Make sure hosts[*].modules always exists. diff -r 43c5227fdd3b -r 3221746f4769 prosodyctl --- a/prosodyctl Wed Sep 19 12:39:21 2012 +0100 +++ b/prosodyctl Sun Sep 23 01:11:20 2012 +0500 @@ -225,6 +225,7 @@ return { type = "local", events = prosody.events, + modules = {}, users = require "core.usermanager".new_null_provider(hostname) }; end