Skip to content

Commit

Permalink
fix check feature
Browse files Browse the repository at this point in the history
  • Loading branch information
LoV432 committed Feb 22, 2024
1 parent b68d1b7 commit 4e20902
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/lib/get-server-messages.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export async function getServerMessages(
olderThan = 0,
newerThan = 0
) {
if ('err' in config || config.global.simpleAdmin != true) {
if ('err' in config || config.global.serverMessages != true) {
return { error: true };
}
try {
Expand All @@ -47,7 +47,7 @@ export async function getServerMessages(
}

export async function getFirstMessageId(selectedServerIndex: number) {
if ('err' in config || config.global.simpleAdmin != true) {
if ('err' in config || config.global.serverMessages != true) {
return { error: true };
}
try {
Expand Down

0 comments on commit 4e20902

Please sign in to comment.