}
/* See if class changed: if it's different, and the value in the database
- * is not STAFF or SIPB, then update the database. Since they were on the
+ * is not STAFF or SIPBMEM, and the value from the tape is actually
+ * meaningful, then update the database. Since they were on the
* students tape, make the account usable.
*/
if (strcmp(e->class, strtrim(class)) &&
- strcmp(class, "STAFF") && strcmp(class, "SIPB")) {
+ strcmp(class, "STAFF") && strcmp(class, "SIPBMEM") &&
+ e->year[0]) {
com_err(whoami, 0, "updating class for user %s %s from %s to %s",
first, last, class, e->class);
if (status == US_NOT_ALLOWED) status = US_NO_LOGIN_YET;