diff options
Diffstat (limited to 'IRCStates/ISupportChanModes.cs')
-rw-r--r-- | IRCStates/ISupportChanModes.cs | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/IRCStates/ISupportChanModes.cs b/IRCStates/ISupportChanModes.cs index e63c15f..5a175da 100644 --- a/IRCStates/ISupportChanModes.cs +++ b/IRCStates/ISupportChanModes.cs @@ -6,6 +6,10 @@ namespace IRCStates { public class ISupportChanModes { + /// <summary> + /// Split the chanmodes and add to our known <see cref="ListModes"/> + /// </summary> + /// <param name="splitVal"></param> public ISupportChanModes(string splitVal) { if (splitVal == null) return; @@ -25,9 +29,9 @@ namespace IRCStates SettingDModes.AddRange(split[3].Select(c => c.ToString(CultureInfo.InvariantCulture))); } - public List<string> ListModes { get; set; } - public List<string> SettingBModes { get; set; } - public List<string> SettingCModes { get; set; } - public List<string> SettingDModes { get; set; } + public List<string> ListModes { get; } + public List<string> SettingBModes { get; } + public List<string> SettingCModes { get; } + public List<string> SettingDModes { get; } } } |