Commit 4b6452a1 authored by nanahira's avatar nanahira

fix

parent 1b2c5a05
Pipeline #42234 passed with stages
in 26 seconds
...@@ -486,8 +486,9 @@ let endUserPermit = function(query, res) { ...@@ -486,8 +486,9 @@ let endUserPermit = function(query, res) {
let username = query.username; let username = query.username;
let password = query.password; let password = query.password;
let arena = query.arena; let arena = query.arena;
if (playingPlayerPool.has(username)) { const pool = pendingPlayerPool;
let info = playingPlayerPool.get(username); if (pool.has(username)) {
let info = pool.get(username);
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..
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment