aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index 4052d59..e67bd1b 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -9,7 +9,7 @@ use std::{
use anyhow::{anyhow, Context, Result};
use clap::Clap;
-use evtclib::{Boss, Compression, Log};
+use evtclib::{Compression, Encounter, Log};
use log::{debug, error, info, warn};
use notify::{self, DebouncedEvent, RecursiveMode, Watcher};
use regex::Regex;
@@ -198,7 +198,7 @@ fn should_upload(config: &Config, log: &Log) -> bool {
return false;
}
// Only upload Skorvald if it actually was in 100 CM (and not in in lower-tier or non-CM).
- if log.encounter() == Some(Boss::Skorvald) && !log.is_cm() {
+ if log.encounter() == Some(Encounter::Skorvald) && !log.is_cm() {
return false;
}
// Only upload logs that are long enough