Changeset

5006:af7e563cf453

mod_admin_telnet: Add missing import of usermanager
author Kim Alvefur <zash@zash.se>
date Tue, 24 Jul 2012 21:37:16 +0200
parents 5005:ab950c9ff074
children 5007:76f957b44cf7
files plugins/mod_admin_telnet.lua
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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);