Skip to content

Commit

Permalink
Merge pull request #253 from xunder-matth/master
Browse files Browse the repository at this point in the history
Check for `allowed_clients` rule instead of `allow_DL` to determine if server is open.mp
  • Loading branch information
AmyrAhmady authored Dec 7, 2024
2 parents 5b6f654 + c41415a commit bf3fa69
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 bf3fa69

Please sign in to comment.