mods are auto given mod user role

This commit is contained in:
ModulatingForce 2024-02-12 15:27:52 -05:00
parent aedb9d2db9
commit f8cd4d959c

View file

@ -585,7 +585,15 @@ impl IdentityManager {
}
},
_ => ( ) // <-- I'm assuming problem got to here
_ => {
println!("lock created > adding with a mod role o7");
roleslock.get_mut(&usr.to_lowercase())
// .expect("ERROR")
.unwrap()
.write().await
// .get_mut()
.push(UserRole::Mod(channelname.clone()));
}// <-- I'm assuming problem got to here
}
},