mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-03 00:38:21 +00:00
Use the context's Release rather than the LoginSessions, unnecessary propagation.
This commit is contained in:
@@ -115,7 +115,7 @@ public final class LoginService extends Service {
|
||||
* @throws IOException If some I/O exception occurs.
|
||||
*/
|
||||
private boolean requiresUpdate(LoginSession session, LoginRequest request) throws IOException {
|
||||
Release release = session.getRelease();
|
||||
Release release = getContext().getRelease();
|
||||
if (release.getReleaseNumber() != request.getReleaseNumber()) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user