comparison mod_profile/mod_profile.lua @ 1743:8fbe16c83807

mod_profile: Don't use import()
author Kim Alvefur <zash@zash.se>
date Mon, 18 May 2015 02:55:39 +0200
parents 48d95ab404c7
children fbef84033fae
comparison
equal deleted inserted replaced
1742:ec50cecc9318 1743:8fbe16c83807
1 -- mod_profile 1 -- mod_profile
2 2
3 local st = require"util.stanza"; 3 local st = require"util.stanza";
4 local jid_split, jid_bare = import("util.jid", "split", "bare"); 4 local jid_split = require"util.jid".split;
5 local jid_bare = require"util.jid".bare;
5 local is_admin = require"core.usermanager".is_admin; 6 local is_admin = require"core.usermanager".is_admin;
6 local vcard = require"util.vcard"; 7 local vcard = require"util.vcard";
7 local base64 = require"util.encodings".base64; 8 local base64 = require"util.encodings".base64;
8 local sha1 = require"util.hashes".sha1; 9 local sha1 = require"util.hashes".sha1;
9 local t_insert, t_remove = table.insert, table.remove; 10 local t_insert, t_remove = table.insert, table.remove;