fix truncate

This commit is contained in:
slonkazoid 2024-12-16 21:27:14 +03:00
parent bed8ae7849
commit a4b571fc3d
Signed by: slonk
SSH key fingerprint: SHA256:tbZfJX4IOvZ0LGWOWu5Ijo8jfMPi78TU7x1VoEeCIjM

View file

@ -157,7 +157,7 @@ impl PostManager for Blag {
};
if self.is_raw(&name) {
name.truncate(3);
name.truncate(name.len() - 3);
set.push(self.get_post(name.into(), query));
}
}