diff -r c7bb2264e3b8 -r 0e061ebf565e plugins/mod_legacyauth.lua --- a/plugins/mod_legacyauth.lua Tue Aug 11 21:33:24 2009 +0100 +++ b/plugins/mod_legacyauth.lua Thu Aug 13 16:45:47 2009 +0500 @@ -47,7 +47,6 @@ else username, password, resource = t_concat(username), t_concat(password), t_concat(resource); local reply = st.reply(stanza); - require "core.usermanager" if usermanager.validate_credentials(session.host, username, password) then -- Authentication successful! local success, err = sessionmanager.make_authenticated(session, username);