mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-23 12:43:48 -04:00
fix
This commit is contained in:
parent
077016d3d2
commit
212c35e19b
@ -37,7 +37,7 @@ async function warnInactive(db) {
|
||||
if (!execute) { continue; }
|
||||
|
||||
try {
|
||||
let userRefreshed = await db.get(`SELECT u.id, u.username, u.email, u.bannedReason FROM users u WHERE u.id = '${user.id}'`);
|
||||
let userRefreshed = await db.get(`SELECT u.id, u.username, u.email, u.bannedReason, u.inactiveWarning FROM users u WHERE u.id = '${user.id}'`);
|
||||
if (userRefreshed.inactiveWarning !== null) { continue; }
|
||||
|
||||
if (userRefreshed.email.endsWith('.oauth')) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user