diff options
author | Ben Harris <ben@tilde.team> | 2020-05-16 22:08:40 -0400 |
---|---|---|
committer | Ben Harris <ben@tilde.team> | 2020-05-16 22:08:40 -0400 |
commit | a1e1922e62419de75d2909dfae1ee7caa9ed487f (patch) | |
tree | 9198d3edbe1363df38fc03e30e4d247be9dd8e60 /IRCStates/Channel.cs | |
parent | a03daca3d4f52af4fecbb263526a0d61d17776fd (diff) |
Add xmldocs, and handle null bytes
Diffstat (limited to 'IRCStates/Channel.cs')
-rw-r--r-- | IRCStates/Channel.cs | 10 |
1 files changed, 5 insertions, 5 deletions
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<string, string>(); } - public string Name { get; set; } - public string NameLower { get; set; } - public Dictionary<string, ChannelUser> Users { get; set; } + public string Name { get; private set; } + public string NameLower { get; private set; } + public Dictionary<string, ChannelUser> 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<string, List<string>> ListModes { get; set; } - public Dictionary<string, string> Modes { get; set; } + public Dictionary<string, List<string>> ListModes { get; private set; } + public Dictionary<string, string> Modes { get; private set; } public override string ToString() { |