aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-11-18 14:33:03 +0000
committerMatthew Wild <mwild1@gmail.com>2010-11-18 14:33:03 +0000
commite8daf372c93689cf8ff0c4892d8377b14ac6bcaa (patch)
treee5c2dafe73827c1bf7047911fee6b53a82154cda
parentc6eb530c0b5046c4c8bd4ca01f47b6fcd3a3bc72 (diff)
downloadprosody-e8daf372c93689cf8ff0c4892d8377b14ac6bcaa.tar.gz
prosody-e8daf372c93689cf8ff0c4892d8377b14ac6bcaa.zip
prosodyctl: Give hosts type = 'local'
-rwxr-xr-xprosodyctl6
1 files changed, 5 insertions, 1 deletions
diff --git a/prosodyctl b/prosodyctl
index 88cf552c..8fa12807 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -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