UserAPIAccount acc = DatabaseManager.getManager().getAPIAccount(key); if (acc != null) { if (acc.isBlocked()) { Logger.getLogger().api("Attempted to use blocked API Key: " + acc.getAPIKey(), request.getRemoteAddr());
UserAPIAccount acc = DatabaseManager.getManager().getAPIAccount(key); if (acc != null) { if (acc.isBlocked()) { Logger.getLogger().api("Attempted to use blocked API Key: " + acc.getAPIKey(), request.getRemoteAddr());
UserAPIAccount acc = DatabaseManager.getManager().getAPIAccount(key); if (acc != null) { if (acc.isBlocked()) { Logger.getLogger().api("Attempted to use blocked API Key: " + acc.getAPIKey(), request.getRemoteAddr());