From e241b85a56b96bbda1719448a08e68cf5b8eed56 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Wed, 29 Apr 2009 02:08:12 +0100 Subject: mod_*: Fix many unnecessary global accesses in modules (already committed to main repo) --- plugins/mod_vcard.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/mod_vcard.lua') 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"); -- cgit v1.2.3