From a1e1922e62419de75d2909dfae1ee7caa9ed487f Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Sat, 16 May 2020 22:08:40 -0400 Subject: Add xmldocs, and handle null bytes --- IRCStates/Channel.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'IRCStates/Channel.cs') diff --git a/IRCStates/Channel.cs b/IRCStates/Channel.cs index 60ca3fb..a9d2302 100644 --- a/IRCStates/Channel.cs +++ b/IRCStates/Channel.cs @@ -13,15 +13,15 @@ namespace IRCStates Modes = new Dictionary(); } - public string Name { get; set; } - public string NameLower { get; set; } - public Dictionary Users { get; set; } + public string Name { get; private set; } + public string NameLower { get; private set; } + public Dictionary Users { get; private set; } public string Topic { get; set; } public string TopicSetter { get; set; } public DateTime TopicTime { get; set; } public DateTime Created { get; set; } - public Dictionary> ListModes { get; set; } - public Dictionary Modes { get; set; } + public Dictionary> ListModes { get; private set; } + public Dictionary Modes { get; private set; } public override string ToString() { -- cgit 1.4.1