Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-match
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
ygopro-match
Commits
095761ae
Commit
095761ae
authored
Jan 02, 2026
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update main.js
parent
5c89cddb
Pipeline
#42321
passed with stages
in 30 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
main.js
main.js
+4
-0
No files found.
main.js
View file @
095761ae
...
@@ -559,6 +559,7 @@ let endUserPermit = function(query, res) {
...
@@ -559,6 +559,7 @@ let endUserPermit = function(query, res) {
}
}
}
}
if
(
info
)
{
if
(
info
)
{
/*
if (password == info.password) {
if (password == info.password) {
// There is a bug. Should check if server is an array.
// There is a bug. Should check if server is an array.
// But since now we have only one server for each arena..
// But since now we have only one server for each arena..
...
@@ -570,6 +571,9 @@ let endUserPermit = function(query, res) {
...
@@ -570,6 +571,9 @@ let endUserPermit = function(query, res) {
}
}
else
else
res.end(JSON.stringify({ permit: false, reason: 'Wrong roomname.' }));
res.end(JSON.stringify({ permit: false, reason: 'Wrong roomname.' }));
*/
// we allow any reasons whenever it really is inside
res
.
end
(
JSON
.
stringify
({
permit
:
true
,
reason
:
null
}));
}
}
else
else
res
.
end
(
JSON
.
stringify
({
permit
:
false
,
reason
:
'
No record in player pool.
'
}));
res
.
end
(
JSON
.
stringify
({
permit
:
false
,
reason
:
'
No record in player pool.
'
}));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment