Diff

prosodyctl @ 5142:3221746f4769

prosodyctl: Make sure hosts[*].modules always exists.
author Waqas Hussain <waqas20@gmail.com>
date Sun, 23 Sep 2012 01:11:20 +0500
parent 5134:43c5227fdd3b
child 5143:a86efd60425f
child 5149:b3e9b3576056
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