html terminal
Diffstat (limited to 'src/bot/rules.rs')
-rw-r--r--src/bot/rules.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bot/rules.rs b/src/bot/rules.rs
index ddf11ee..ae34acc 100644
--- a/src/bot/rules.rs
+++ b/src/bot/rules.rs
@@ -198,7 +198,7 @@ pub async fn rules(stdin: &broadcast::Sender<String>) -> tokio::sync::MutexGuard
.get_or_init(|| async move {
send!(stdin, "rules").unwrap();
let res = get_nextblock().await;
- Mutex::new(deser_hjson::from_str(&res).unwrap())
+ Mutex::new(serde_json::from_str(&res).unwrap())
})
.await
.lock()