Skip to content

Commit

Permalink
more accurate check for omp version check
Browse files Browse the repository at this point in the history
  • Loading branch information
AmyrAhmady committed Jan 4, 2024
1 parent ca9cb3a commit fa858b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ const getServerRules = async (ip: string, port: number, listType: ListType) => {
if (rules["allow_DL"]) {
isOmp = true;
} else {
if (rules.version && rules.version.includes("omp")) {
if (rules.version && rules.version.includes("omp ")) {
isOmp = true;
}
}
Expand Down

0 comments on commit fa858b0

Please sign in to comment.