This commit is contained in:
Andrea 2022-02-26 12:49:06 +01:00
parent 1def499b74
commit 16acf13813
1 changed files with 1 additions and 1 deletions

View File

@ -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')) {