1
0
forked from Hay1tsme/artemis

fix typo in aimedb

This commit is contained in:
Hay1tsme 2023-02-19 00:07:14 -05:00
parent d434bf084d
commit a57d2cf71c

View File

@ -164,7 +164,7 @@ class AimedbProtocol(Protocol):
def handle_register(self, data: bytes) -> bytes:
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()
if user_id is None: