Diff

prosodyctl @ 3630:e0c67b14d25f

prosodyctl: Give hosts type = 'local'
author Matthew Wild <mwild1@gmail.com>
date Thu, 18 Nov 2010 14:33:03 +0000
parent 3627:9e62937c9757
child 3724:c12ebbd4ab61
line wrap: on
line diff
--- a/prosodyctl	Wed Nov 17 15:58:32 2010 +0100
+++ b/prosodyctl	Thu Nov 18 14:33:03 2010 +0000
@@ -168,7 +168,11 @@
 hosts = prosody.hosts;
 
 local function make_host(hostname)
-	return { events = prosody.events, users = require "core.usermanager".new_null_provider(hostname) };
+	return {
+		type = "local",
+		events = prosody.events,
+		users = require "core.usermanager".new_null_provider(hostname)
+	};
 end
 
 for hostname, config in pairs(config.getconfig()) do