mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-10-23 17:12:25 +00:00
fix bug
This commit is contained in:
1 parent
6e37f84bd5
commit
83802ef6a2
2 files changed
+2
No files matched your search
@@ -27,6 +27,7 @@ function trimswitcher() {
|
||||
if (wellknown[wellknown.length - 1] !== "/") {
|
||||
wellknown += "/";
|
||||
}
|
||||
wellknown += user.username;
|
||||
if (map.has(wellknown)) {
|
||||
const otheruser = map.get(wellknown);
|
||||
if (otheruser[1].serverurls.wellknown[otheruser[1].serverurls.wellknown.length - 1] === "/") {
|
||||
|
||||
@@ -28,6 +28,7 @@ function trimswitcher(){
|
||||
if(wellknown[wellknown.length-1]!=="/"){
|
||||
wellknown+="/";
|
||||
}
|
||||
wellknown+=user.username;
|
||||
if(map.has(wellknown)){
|
||||
const otheruser=map.get(wellknown);
|
||||
if(otheruser[1].serverurls.wellknown[otheruser[1].serverurls.wellknown.length-1]==="/"){
|
||||
|
||||
Reference in new issue
Block a user