mirror of
https://gitea.tendokyu.moe/Hay1tsme/artemis.git
synced 2026-02-04 14:47:29 +08:00
fix typo in aimedb
This commit is contained in:
@@ -164,7 +164,7 @@ class AimedbProtocol(Protocol):
|
|||||||
|
|
||||||
def handle_register(self, data: bytes) -> bytes:
|
def handle_register(self, data: bytes) -> bytes:
|
||||||
luid = data[0x20: 0x2a].hex()
|
luid = data[0x20: 0x2a].hex()
|
||||||
if self.config.server.allow_registration:
|
if self.config.server.allow_user_registration:
|
||||||
user_id = self.data.user.create_user()
|
user_id = self.data.user.create_user()
|
||||||
|
|
||||||
if user_id is None:
|
if user_id is None:
|
||||||
|
|||||||
Reference in New Issue
Block a user