Changeset 373 for TwitterIrcGateway/TwitterIrcGatewayCore/Group.cs
- Timestamp:
- 04/15/08 00:23:42 (9 months ago)
- Files:
-
- 1 modified
-
TwitterIrcGateway/TwitterIrcGatewayCore/Group.cs (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
TwitterIrcGateway/TwitterIrcGatewayCore/Group.cs
r359 r373 6 6 using System.IO; 7 7 using System.Xml; 8 using Misuzilla.Net.Irc; 8 9 9 10 namespace Misuzilla.Applications.TwitterIrcGateway … … 54 55 retGroups[group.Name] = group; 55 56 group.IsJoined = false; 57 group.ChannelModes = group.ChannelModes == null ? new List<ChannelMode>() : group.ChannelModes; 56 58 } 57 59 … … 67 69 public Boolean IsJoined { get; set; } 68 70 public String Topic { get; set; } 71 public List<ChannelMode> ChannelModes { get; set; } 69 72 70 73 public Group() 71 74 { 75 ChannelModes = new List<ChannelMode>(); 72 76 } 73 77 … … 80 84 Name = name; 81 85 Members = new List<string>(); 86 ChannelModes = new List<ChannelMode>(); 82 87 } 83 88 … … 110 115 } 111 116 117 public Boolean IgnoreEchoBack 118 { 119 get 120 { 121 return ChannelModes.Exists(mode => mode.Mode == ChannelModeTypes.Private); 122 } 123 } 124 112 125 #region IComparable �����o 113 126
