diff --git a/channels/irc/src/main.rs b/channels/irc/src/main.rs index 8f41259..44e62df 100644 --- a/channels/irc/src/main.rs +++ b/channels/irc/src/main.rs @@ -408,6 +408,11 @@ async fn register_and_read( if let Err(e) = state.borrow_mut().send_raw(&format!("JOIN {ch}")).await { warn!("irc: failed to join {ch}: {e}"); } + // Create log entry so channel appears in list() + let key = format!("irc.{ch}"); + state.borrow_mut().channel_logs + .entry(key) + .or_insert_with(ChannelLog::new); } }