prosodyctl: Give hosts type = 'local'

This commit is contained in:
Matthew Wild 2010-11-18 14:33:03 +00:00
parent c6eb530c0b
commit e8daf372c9

View file

@ -168,7 +168,11 @@ local error_messages = setmetatable({
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