aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_vcard.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mod_vcard.lua')
-rw-r--r--plugins/mod_vcard.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/mod_vcard.lua b/plugins/mod_vcard.lua
index c4afb128..2e8aea02 100644
--- a/plugins/mod_vcard.lua
+++ b/plugins/mod_vcard.lua
@@ -8,13 +8,13 @@
-require "util.datamanager"
-local datamanager = datamanager;
+local hosts = _G.hosts;
+local datamanager = require "util.datamanager"
local st = require "util.stanza"
local t_concat, t_insert = table.concat, table.insert;
-require "util.jid"
+local jid = require "util.jid"
local jid_split = jid.split;
module:add_feature("vcard-temp");