[FIX] Фикс ошибки компиляции

This commit is contained in:
Gravit 2019-07-01 16:11:24 +07:00
parent 07dd7bcfc8
commit c11f1660ca
No known key found for this signature in database
GPG key ID: 061981E1E85D3216

View file

@ -15,7 +15,7 @@ public AuthProviderResult auth(String login, String password, String ip) throws
if(user == null && autoReg) if(user == null && autoReg)
{ {
AuthHookManager.RegContext context = new AuthHookManager.RegContext(login, password, ip, false); AuthHookManager.RegContext context = new AuthHookManager.RegContext(login, password, ip, false);
if(AuthHookManager.registraion.hook(context)) if(srv.authHookManager.registraion.hook(context))
{ {
user = srv.config.dao.userService.registerNewUser(login, password); user = srv.config.dao.userService.registerNewUser(login, password);
} }