Changeset

5142:3221746f4769

prosodyctl: Make sure hosts[*].modules always exists.
author Waqas Hussain <waqas20@gmail.com>
date Sun, 23 Sep 2012 01:11:20 +0500
parents 5134:43c5227fdd3b
children 5143:a86efd60425f 5144:a30507061526
files prosodyctl
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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