diff --git a/src/irc_discord.rs b/src/irc_discord.rs index b272cc6..3691d8f 100644 --- a/src/irc_discord.rs +++ b/src/irc_discord.rs @@ -395,7 +395,7 @@ async fn msg_task(mut recv: UnboundedReceiverStream) -> anyhow::R http, message, } => { - if content.is_empty() { + if message.is_empty() { continue; } channel_id.say(&http, message).await?;