From b78025709882bac73887c6be795d52aa325401e8 Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Fri, 17 Sep 2021 04:35:38 +0200 Subject: [PATCH] MultiServer: fix IgnoreGame missing 'not' --- MultiServer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MultiServer.py b/MultiServer.py index f75ebba6..e7e382fe 100644 --- a/MultiServer.py +++ b/MultiServer.py @@ -1096,7 +1096,7 @@ async def process_client_cmd(ctx: Context, client: Client, args: dict): else: team, slot = ctx.connect_names[args['name']] game = ctx.games[slot] - if "IgnoreGame" in args["tags"] and args['game'] != game: + if "IgnoreGame" not in args["tags"] and args['game'] != game: errors.add('InvalidGame') # this can only ever be 0 or 1 elements clients = [c for c in ctx.endpoints if c.auth and c.slot == slot and c.team == team]