mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
core: fix contest pretest
This commit is contained in:
1 parent
23822ea2f5
commit
9d0fbd1332
2 files changed
+1
-2
No files matched your search
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "hydrooj",
|
||||
"version": "3.1.19",
|
||||
"version": "3.1.20",
|
||||
"bin": "bin/hydrooj.js",
|
||||
"main": "src/loader",
|
||||
"module": "src/loader",
|
||||
|
||||
@@ -238,7 +238,6 @@ class RecordMainConnectionHandler extends ConnectionHandler {
|
||||
if (rdoc.domainId !== this.domainId) return;
|
||||
if (rdoc.contest && ![this.tid, '000000000000000000000000'].includes(rdoc.contest.toString())) return;
|
||||
}
|
||||
if (this.tid && rdoc.contest?.toString() !== this.tid) return;
|
||||
if (this.pid && rdoc.pid !== this.pid) return;
|
||||
if (this.uid && rdoc.uid !== this.uid) return;
|
||||
|
||||
|
||||
Reference in new issue
Block a user