Ghostmode fix now?

This commit is contained in:
nocnico
2025-07-25 17:19:58 +02:00
parent 4eb46cb783
commit b602a5836c

View File

@@ -34,7 +34,7 @@ router.patch("/:id", async (req, res) => {
}, },
}); });
if (discordAccount?.id) { if (discordAccount?.id && !disaptcherUpdate.ghostMode) {
await renameMember( await renameMember(
discordAccount.discordId.toString(), discordAccount.discordId.toString(),
`${getPublicUser(newDispatcher.user).fullName}${newDispatcher.zone}`, `${getPublicUser(newDispatcher.user).fullName}${newDispatcher.zone}`,