6 -- COPYING file in the source package for more information. |
6 -- COPYING file in the source package for more information. |
7 -- |
7 -- |
8 |
8 |
9 |
9 |
10 |
10 |
11 require "util.datamanager" |
11 local hosts = _G.hosts; |
12 local datamanager = datamanager; |
12 local datamanager = require "util.datamanager" |
13 |
13 |
14 local st = require "util.stanza" |
14 local st = require "util.stanza" |
15 local t_concat, t_insert = table.concat, table.insert; |
15 local t_concat, t_insert = table.concat, table.insert; |
16 |
16 |
17 require "util.jid" |
17 local jid = require "util.jid" |
18 local jid_split = jid.split; |
18 local jid_split = jid.split; |
19 |
19 |
20 module:add_feature("vcard-temp"); |
20 module:add_feature("vcard-temp"); |
21 |
21 |
22 module:add_iq_handler({"c2s", "s2sin"}, "vcard-temp", |
22 module:add_iq_handler({"c2s", "s2sin"}, "vcard-temp", |