diff 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
line wrap: on
line diff
--- a/mod_profile/mod_profile.lua	Mon May 18 02:46:41 2015 +0200
+++ b/mod_profile/mod_profile.lua	Mon May 18 02:55:39 2015 +0200
@@ -1,7 +1,8 @@
 -- mod_profile
 
 local st = require"util.stanza";
-local jid_split, jid_bare = import("util.jid", "split", "bare");
+local jid_split = require"util.jid".split;
+local jid_bare = require"util.jid".bare;
 local is_admin = require"core.usermanager".is_admin;
 local vcard = require"util.vcard";
 local base64 = require"util.encodings".base64;