aboutsummaryrefslogtreecommitdiff
path: root/src/filters/log.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/filters/log.rs')
-rw-r--r--src/filters/log.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/filters/log.rs b/src/filters/log.rs
index 79513d5..8cfdcb4 100644
--- a/src/filters/log.rs
+++ b/src/filters/log.rs
@@ -33,8 +33,7 @@ impl Filter<EarlyLogResult, LogResult> for BossFilter {
}
fn filter(&self, log: &LogResult) -> bool {
- let boss = Boss::from_u16(log.boss_id);
- boss.map(|b| self.0.contains(&b)).unwrap_or(false)
+ log.boss.map(|b| self.0.contains(&b)).unwrap_or(false)
}
}