mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-10-23 19:22:27 +00:00
slight correction
This commit is contained in:
1 parent
294296a7bd
commit
451c767508
1 file changed
+2
-2
@@ -756,13 +756,13 @@ class Localuser {
|
||||
for (const [role, list] of elms) {
|
||||
members.forEach((member) => {
|
||||
if (role === "offline") {
|
||||
if (member.user.status === "offline") {
|
||||
if (member.user.getStatus() === "offline") {
|
||||
list.push(member);
|
||||
members.delete(member);
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (member.user.status === "offline") {
|
||||
if (member.user.getStatus() === "offline") {
|
||||
return;
|
||||
}
|
||||
if (role !== "online" && member.hasRole(role.id)) {
|
||||
|
||||
Reference in new issue
Block a user