about summary refs log tree commit diff
path: root/IrcStates/Channel.cs
diff options
context:
space:
mode:
authorBen Harris <ben@tilde.team>2020-05-13 23:34:33 -0400
committerBen Harris <ben@tilde.team>2020-05-13 23:34:33 -0400
commit023e29ab75f1f413f918346edaddafdf8b1df5ee (patch)
tree9e8c6956c0c0ecac9639b1c727fe94cb253d71f7 /IrcStates/Channel.cs
parentb93174070a0964f254781686ed2390855127ad7a (diff)
implement some stuff
Diffstat (limited to 'IrcStates/Channel.cs')
-rw-r--r--IrcStates/Channel.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/IrcStates/Channel.cs b/IrcStates/Channel.cs
index b502f2a..16b4654 100644
--- a/IrcStates/Channel.cs
+++ b/IrcStates/Channel.cs
@@ -6,6 +6,13 @@ namespace IrcStates
 {
     public class Channel
     {
+        public Channel()
+        {
+            Users     = new Dictionary<string, ChannelUser>();
+            ListModes = new Dictionary<string, List<string>>();
+            Modes     = new Dictionary<string, string>();
+        }
+
         public string Name { get; set; }
         public string NameLower { get; set; }
         public Dictionary<string, ChannelUser> Users { get; set; }