mirror of
https://github.com/yanguo888/fakabot.git
synced 2026-06-20 12:30:40 +00:00
21 lines
519 B
Python
21 lines
519 B
Python
#!/usr/bin/env python3
|
|
# -*- coding: utf-8 -*-
|
|
"""Compatibility auth shim.
|
|
|
|
This project previously performed import-time authorization checks via
|
|
`import _auth_check`. The check is intentionally disabled now, but we keep
|
|
this module to avoid runtime/import errors for any legacy extension code that
|
|
still imports `_auth_check`.
|
|
"""
|
|
|
|
from __future__ import annotations
|
|
|
|
|
|
def check_license() -> bool:
|
|
"""Legacy API: always returns True."""
|
|
return True
|
|
|
|
|
|
# Keep side effects empty on import.
|
|
AUTH_ENABLED = False
|