public void LeaveChannels(string PlayerName) { foreach (Channel Chan in Channels.Values.ToArray()) { Chan.Remove(PlayerName); } }