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 c4afb12868ae1544be495097a1f25b1cb7d1b455..db67d9e51f30b8c01f981dbfedfce14926fdf06d 100644
(file)
--- a/
plugins/mod_vcard.lua
+++ b/
plugins/mod_vcard.lua
@@
-1,4
+1,4
@@
--- Prosody IM
v0.4
+-- Prosody IM
-- Copyright (C) 2008-2009 Matthew Wild
-- Copyright (C) 2008-2009 Waqas Hussain
--
-- Copyright (C) 2008-2009 Matthew Wild
-- Copyright (C) 2008-2009 Waqas Hussain
--
@@
-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");