public void LeaveChannel(Stream channel) { _writer.WriteLine($"PART {channel.ChannelName}"); byte temp; _joinedStreams.TryRemove(channel, out temp); }
public void JoinChannel(Stream channel) { _writer.WriteLine($"JOIN #{channel.ChannelName.ToLower()}"); _joinedStreams.TryAdd(channel, new byte()); }