diff --git a/src/core/identity.rs b/src/core/identity.rs index 477a9e5..2ea8669 100644 --- a/src/core/identity.rs +++ b/src/core/identity.rs @@ -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 } },