Skip to content

Commit

Permalink
Check for allowed_clients rule instead of allow_DL
Browse files Browse the repository at this point in the history
  • Loading branch information
xunder-matth committed Nov 4, 2024
1 parent 5b6f654 commit c41415a
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 @@ -132,7 +132,7 @@ const getServerRules = async (ip: string, port: number, listType: ListType) => {

let isOmp = false;

if (rules["allow_DL"]) {
if (rules["allowed_clients"]) {
isOmp = true;
} else {
if (rules.version && rules.version.includes("omp ")) {
Expand Down

0 comments on commit c41415a

Please sign in to comment.