aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2012-07-24 21:37:16 +0200
committerKim Alvefur <zash@zash.se>2012-07-24 21:37:16 +0200
commit04ae0b2698f5948738e48bc26b8ea3da739f673a (patch)
treea530f7f2afa53c8e0036727acd1659d69dfdd831
parent0fb838ecd2febc14ccc75cd3123adc5a78641779 (diff)
downloadprosody-04ae0b2698f5948738e48bc26b8ea3da739f673a.tar.gz
prosody-04ae0b2698f5948738e48bc26b8ea3da739f673a.zip
mod_admin_telnet: Add missing import of usermanager
-rw-r--r--plugins/mod_admin_telnet.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/mod_admin_telnet.lua b/plugins/mod_admin_telnet.lua
index 7cfb2751..17e5babc 100644
--- a/plugins/mod_admin_telnet.lua
+++ b/plugins/mod_admin_telnet.lua
@@ -902,6 +902,8 @@ function def_env.muc:room(room_jid)
return setmetatable({ room = room_obj }, console_room_mt);
end
+local um = require"core.usermanager";
+
def_env.user = {};
function def_env.user:create(jid, password)
local username, host = jid_split(jid);