diff --git a/src/main.rs b/src/main.rs index 869c543..e67b378 100644 --- a/src/main.rs +++ b/src/main.rs @@ -225,12 +225,16 @@ async fn writemsg(mut writer: tokio::io::WriteHalf 3 { + parts[3..].join(" ").replace(':', "") + } else { + "".to_string() + }; println!("{} {} {} {} {} {} {} {} {}", "DEBUG:".bold().yellow(), "channel:".bold().green(), channel.purple(), "user:".bold().green(), user.purple(), "host:".bold().green(), host.purple(), "msg:".bold().green(), msg_content.yellow()); // sed