Changeset

3630:e0c67b14d25f

prosodyctl: Give hosts type = 'local'
author Matthew Wild <mwild1@gmail.com>
date Thu, 18 Nov 2010 14:33:03 +0000
parents 3629:856e42b38bb0
children 3631:138f385e8246
files prosodyctl
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
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