Skip to content

Commit

Permalink
fix 2
Browse files Browse the repository at this point in the history
  • Loading branch information
callmeclover authored Apr 23, 2024
1 parent 3eb845d commit b853ed4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ async fn handle_socket(socket: WebSocket, _who: SocketAddr, state: Arc<AppState>
Parser::new(&request.msg.replace("<", "<").replace(">", "&gt;"))
);

match into_censored_md(&clean(&*msg_new), &mut user_recv) {
match into_censored_md(&clean(&*msg_new), &mut user_recv.lock().unwrap()) {
Ok(output) => {
request.msg = output;
request.time = Some(Utc::now());
Expand Down

0 comments on commit b853ed4

Please sign in to comment.