mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-04-28 03:00:18 -04:00
bin/ircd: fix a bug when rejoin a channel after parting
This commit is contained in:
@@ -75,6 +75,9 @@ impl IrcServerConnection {
|
||||
self.reply(&join_reply).await?;
|
||||
if !self.configured_chans.contains_key(chan) {
|
||||
self.configured_chans.insert(chan.to_string(), ChannelInfo::new()?);
|
||||
} else {
|
||||
let chan_info = self.configured_chans.get_mut(chan).unwrap();
|
||||
chan_info.joined = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user