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 | 61ea70dcd6a33bd54e681df7ae89fa1c0916dbdc (patch) | |
tree | a530f7f2afa53c8e0036727acd1659d69dfdd831 /plugins/mod_admin_telnet.lua | |
parent | edf00237621d4e280a07090be83ae8a64c790768 (diff) | |
download | prosody-61ea70dcd6a33bd54e681df7ae89fa1c0916dbdc.tar.gz prosody-61ea70dcd6a33bd54e681df7ae89fa1c0916dbdc.zip |
mod_admin_telnet: Add missing import of usermanager
Diffstat (limited to 'plugins/mod_admin_telnet.lua')
-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); |