projects
/
prosody.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mod_uptime: Fix bad uptime if module is loaded at startup
[prosody.git]
/
plugins
/
mod_vcard.lua
diff --git
a/plugins/mod_vcard.lua
b/plugins/mod_vcard.lua
index f72a37e0106cd07067d71390e4ee2819597f1753..db67d9e51f30b8c01f981dbfedfce14926fdf06d 100644
(file)
--- a/
plugins/mod_vcard.lua
+++ b/
plugins/mod_vcard.lua
@@
-1,6
+1,6
@@
--- Prosody IM
v0.2
--- Copyright (C) 2008 Matthew Wild
--- Copyright (C) 2008 Waqas Hussain
+-- Prosody IM
+-- Copyright (C) 2008
-2009
Matthew Wild
+-- Copyright (C) 2008
-2009
Waqas Hussain
--
-- This project is MIT/X11 licensed. Please see the
-- COPYING file in the source package for more information.
--
-- This project is MIT/X11 licensed. Please see the
-- COPYING file in the source package for more information.
@@
-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;
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");
local jid_split = jid.split;
module:add_feature("vcard-temp");