projects
/
prosody.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Change modules to use the new add_feature module API method.
[prosody.git]
/
plugins
/
mod_vcard.lua
diff --git
a/plugins/mod_vcard.lua
b/plugins/mod_vcard.lua
index 6b8ee23ae0927216a18b405003434ddfe6bf456b..4f78867b9fd40f66fc168e3dc3895a932d54daf2 100644
(file)
--- a/
plugins/mod_vcard.lua
+++ b/
plugins/mod_vcard.lua
@@
-28,7
+28,7
@@
local t_concat, t_insert = table.concat, table.insert;
require "util.jid"
local jid_split = jid.split;
-
require "core.discomanager".set("vcard",
"vcard-temp");
+
module:add_feature(
"vcard-temp");
module:add_iq_handler({"c2s", "s2sin"}, "vcard-temp",
function (session, stanza)