diff options
author | Kim Alvefur <zash@zash.se> | 2012-07-24 21:37:16 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2012-07-24 21:37:16 +0200 |
commit | 04ae0b2698f5948738e48bc26b8ea3da739f673a (patch) | |
tree | a530f7f2afa53c8e0036727acd1659d69dfdd831 | |
parent | 0fb838ecd2febc14ccc75cd3123adc5a78641779 (diff) | |
download | prosody-04ae0b2698f5948738e48bc26b8ea3da739f673a.tar.gz prosody-04ae0b2698f5948738e48bc26b8ea3da739f673a.zip |
mod_admin_telnet: Add missing import of usermanager
-rw-r--r-- | plugins/mod_admin_telnet.lua | 2 |
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); |