# HG changeset patch # User Kim Alvefur # Date 1343158636 -7200 # Node ID af7e563cf4537f8fd64f62e949ca1f08494a052f # Parent ab950c9ff0749688c52cf1225f1198b79be72938 mod_admin_telnet: Add missing import of usermanager diff -r ab950c9ff074 -r af7e563cf453 plugins/mod_admin_telnet.lua --- a/plugins/mod_admin_telnet.lua Tue Jul 24 21:36:47 2012 +0200 +++ b/plugins/mod_admin_telnet.lua Tue Jul 24 21:37:16 2012 +0200 @@ -902,6 +902,8 @@ 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);