mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
MultiServer: fix a refactor mistake
This commit is contained in:
@@ -1240,9 +1240,9 @@ async def process_client_cmd(ctx: Context, client: Client, args: dict):
|
|||||||
reply.append({"cmd": 'ReceivedItems', "index": 0, "items": items})
|
reply.append({"cmd": 'ReceivedItems', "index": 0, "items": items})
|
||||||
client.send_index = len(items)
|
client.send_index = len(items)
|
||||||
if not client.auth: # if this was a Re-Connect, don't print to console
|
if not client.auth: # if this was a Re-Connect, don't print to console
|
||||||
await on_client_joined(ctx, client)
|
|
||||||
else:
|
|
||||||
client.auth = True
|
client.auth = True
|
||||||
|
await on_client_joined(ctx, client)
|
||||||
|
|
||||||
await ctx.send_msgs(client, reply)
|
await ctx.send_msgs(client, reply)
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user