Remove comment

This commit is contained in:
bitfl0wer 2023-08-17 18:26:34 +02:00
parent d69a459025
commit 4424e3f07a
1 changed files with 1 additions and 1 deletions

View File

@ -217,8 +217,8 @@ impl UpdateMessage<RoleObject> for GuildRoleUpdate {
fn update(&mut self, object_to_update: Arc<RwLock<RoleObject>>) { fn update(&mut self, object_to_update: Arc<RwLock<RoleObject>>) {
println!("Processing Role Update. Name: {}", self.role.name); println!("Processing Role Update. Name: {}", self.role.name);
let mut write = object_to_update.write().unwrap(); let mut write = object_to_update.write().unwrap();
// FIXME: The result of this update never gets saved in the store of GatewayHandle... This is why shit no work
*write = self.role.clone(); *write = self.role.clone();
println!("Updated role: Name: {}", write.name);
} }
} }