mirror of
https://github.com/solero/houdini.git
synced 2024-11-21 21:17:21 +00:00
Fix client_type
assignment when running with --single-client-mode
This commit is contained in:
parent
04e511ed12
commit
1f371ca50e
@ -14,7 +14,7 @@ async def handle_version_check(p, version: VersionChkConverter):
|
||||
elif p.server.config.vanilla_version == version:
|
||||
p.client_type = ClientType.Vanilla
|
||||
elif p.server.config.default_version == version:
|
||||
p.client_type = p.server.config.default_version
|
||||
p.client_type = p.server.config.default_client
|
||||
|
||||
if p.client_type is None:
|
||||
await p.send_xml({'body': {'action': 'apiKO', 'r': '0'}})
|
||||
|
Loading…
Reference in New Issue
Block a user