Software /
code /
prosody
Comparison
prosodyctl @ 7190:7a14ea196db3
prosodyctl: Create host.sessions table, (needed by 1295e14614f4) (thanks goffi)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 24 Feb 2016 11:15:27 +0100 |
parent | 7082:8b590fc77d91 |
child | 7191:df4f52cabdfe |
child | 7193:1c0104a56321 |
comparison
equal
deleted
inserted
replaced
7189:72839cafdf36 | 7190:7a14ea196db3 |
---|---|
231 local function make_host(hostname) | 231 local function make_host(hostname) |
232 return { | 232 return { |
233 type = "local", | 233 type = "local", |
234 events = prosody.events, | 234 events = prosody.events, |
235 modules = {}, | 235 modules = {}, |
236 sessions = {}, | |
236 users = require "core.usermanager".new_null_provider(hostname) | 237 users = require "core.usermanager".new_null_provider(hostname) |
237 }; | 238 }; |
238 end | 239 end |
239 | 240 |
240 for hostname, config in pairs(config.getconfig()) do | 241 for hostname, config in pairs(config.getconfig()) do |