This commit is contained in:
bitfl0wer 2024-01-22 20:57:17 +01:00
parent 74fc954d1a
commit c6e7724650
No known key found for this signature in database
GPG Key ID: 0ACD574FCF5226CF
1 changed files with 0 additions and 1 deletions

View File

@ -73,7 +73,6 @@ impl PartialEq for LimitsInformation {
}
impl Instance {
pub(crate) fn clone_limits_if_some(&self) -> Option<HashMap<LimitType, Limit>> {
if self.limits_information.is_some() {
return Some(self.limits_information.as_ref().unwrap().ratelimits.clone());