]> jfr.im git - irc/UndernetIRC/gnuworld.git/commitdiff
mod.cservice> No longer setting account_ts to 1 if it is 0
authorHidden <redacted>
Tue, 19 Sep 2023 03:51:31 +0000 (23:51 -0400)
committerHidden <redacted>
Tue, 19 Sep 2023 03:51:31 +0000 (23:51 -0400)
mod.cservice/sqlUser.cc

index 3920ac7457c086198a4a95ea38dce945cd9fec8b..fa58bba5377f95cb0eff923bbd3662128d969d83 100644 (file)
@@ -199,10 +199,6 @@ flags = atoi(SQLDb->GetValue(row, 5));
 last_updated_by = SQLDb->GetValue(row, 6);
 last_updated = atoi(SQLDb->GetValue(row, 7));
 signup_ts = atoi(SQLDb->GetValue(row, 8));
-if (signup_ts == 0) {
-       // A signup TS of 0 in ircu's ACCOUNT means the user is deactivated
-       signup_ts = 1;
-}
 email = SQLDb->GetValue(row, 9);
 maxlogins = atoi(SQLDb->GetValue(row, 10));
 verifdata = SQLDb->GetValue(row, 11);