mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 12:11:33 -06:00
Core: Made want_reply follow the specs in the docs #4750
This commit is contained in:
@@ -2041,7 +2041,7 @@ async def process_client_cmd(ctx: Context, client: Client, args: dict):
|
||||
value = func(value, operation["value"])
|
||||
ctx.stored_data[args["key"]] = args["value"] = value
|
||||
targets = set(ctx.stored_data_notification_clients[args["key"]])
|
||||
if args.get("want_reply", True):
|
||||
if args.get("want_reply", False):
|
||||
targets.add(client)
|
||||
if targets:
|
||||
ctx.broadcast(targets, [args])
|
||||
|
Reference in New Issue
Block a user