Mercurial > prosody-hg
comparison core/rostermanager.lua @ 8717:9ddd0fbbe53a
core: Use prosody.hosts instead of _G.hosts for consistency
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Thu, 29 Mar 2018 16:58:06 +0200 |
| parents | 4f0f5b49bb03 |
| children | 72f0862978ef |
comparison
equal
deleted
inserted
replaced
| 8716:2f3b08ad9b8a | 8717:9ddd0fbbe53a |
|---|---|
| 13 | 13 |
| 14 local pairs = pairs; | 14 local pairs = pairs; |
| 15 local tostring = tostring; | 15 local tostring = tostring; |
| 16 local type = type; | 16 local type = type; |
| 17 | 17 |
| 18 local hosts = hosts; | 18 local hosts = prosody.hosts; |
| 19 local bare_sessions = prosody.bare_sessions; | 19 local bare_sessions = prosody.bare_sessions; |
| 20 | 20 |
| 21 local um_user_exists = require "core.usermanager".user_exists; | 21 local um_user_exists = require "core.usermanager".user_exists; |
| 22 local st = require "util.stanza"; | 22 local st = require "util.stanza"; |
| 23 local storagemanager = require "core.storagemanager"; | 23 local storagemanager = require "core.storagemanager"; |
