From 36bdcaa99c41beece3985a80e9f4bbdfa86ef4c7 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Thu, 29 Mar 2018 16:58:06 +0200 Subject: core: Use prosody.hosts instead of _G.hosts for consistency --- core/storagemanager.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/storagemanager.lua') diff --git a/core/storagemanager.lua b/core/storagemanager.lua index e5f48752..dea71733 100644 --- a/core/storagemanager.lua +++ b/core/storagemanager.lua @@ -7,12 +7,12 @@ local config = require "core.configmanager"; local datamanager = require "util.datamanager"; local modulemanager = require "core.modulemanager"; local multitable = require "util.multitable"; -local hosts = hosts; local log = require "util.logger".init("storagemanager"); local async = require "util.async"; local debug = debug; local prosody = prosody; +local hosts = prosody.hosts; local _ENV = nil; -- luacheck: std none -- cgit v1.2.3