Mercurial > prosody-modules
comparison mod_profile/mod_profile.lua @ 3207:149cc5ddc64f
mod_profile: Update for mod_pep_plus rename
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 02 Aug 2018 03:35:33 +0200 |
parents | 395835d89d88 |
children | e55172ce68d4 |
comparison
equal
deleted
inserted
replaced
3206:d57635562216 | 3207:149cc5ddc64f |
---|---|
12 local sha1 = require"util.hashes".sha1; | 12 local sha1 = require"util.hashes".sha1; |
13 local t_insert, t_remove = table.insert, table.remove; | 13 local t_insert, t_remove = table.insert, table.remove; |
14 | 14 |
15 local pep_plus; | 15 local pep_plus; |
16 if module:get_host_type() == "local" and module:get_option_boolean("vcard_to_pep", true) then | 16 if module:get_host_type() == "local" and module:get_option_boolean("vcard_to_pep", true) then |
17 pep_plus = module:depends"pep_plus"; | 17 pep_plus = module:depends"pep"; |
18 end | 18 end |
19 | 19 |
20 local storage = module:open_store(); | 20 local storage = module:open_store(); |
21 local legacy_storage = module:open_store("vcard"); | 21 local legacy_storage = module:open_store("vcard"); |
22 | 22 |