mirror of
https://github.com/solero/houdini.git
synced 2024-11-13 22:28:21 +00:00
Merge pull request #20 from solero/fix-single-client-mode
Fix `client_type` assignment when running with --single-client-mode
This commit is contained in:
commit
b709b5b583
@ -14,7 +14,7 @@ async def handle_version_check(p, version: VersionChkConverter):
|
|||||||
elif p.server.config.vanilla_version == version:
|
elif p.server.config.vanilla_version == version:
|
||||||
p.client_type = ClientType.Vanilla
|
p.client_type = ClientType.Vanilla
|
||||||
elif p.server.config.default_version == version:
|
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:
|
if p.client_type is None:
|
||||||
await p.send_xml({'body': {'action': 'apiKO', 'r': '0'}})
|
await p.send_xml({'body': {'action': 'apiKO', 'r': '0'}})
|
||||||
|
Loading…
Reference in New Issue
Block a user