# HG changeset patch # User Waqas Hussain # Date 1250163947 -18000 # Node ID 0e061ebf565eeba2e0d6c815b883ab01dee0b772 # Parent c7bb2264e3b8d41d4a6fd4357ac8e024c8c391e1 mod_legacyauth: Removed useless 'require' call on every login attempt 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);