Software /
code /
prosody
Diff
core/sessionmanager.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 |
parent | 8555:4f0f5b49bb03 |
child | 8872:4d7a822e837f |
line wrap: on
line diff
--- a/core/sessionmanager.lua Thu Mar 29 16:42:24 2018 +0200 +++ b/core/sessionmanager.lua Thu Mar 29 16:58:06 2018 +0200 @@ -10,7 +10,7 @@ local tostring, setmetatable = tostring, setmetatable; local pairs, next= pairs, next; -local hosts = hosts; +local hosts = prosody.hosts; local full_sessions = prosody.full_sessions; local bare_sessions = prosody.bare_sessions;