public Channel(string name, string shortName, Color colour, ChannelModes modes) { Name = name; ShortName = shortName; Colour = colour; Modes = modes; Users = new List<ChannelUser>(); }
public static ChannelModes ModesFromString(string modes) { ChannelModes ret = new ChannelModes(); for (int i = 0; i < modes.Length; i++) { ret.AddMode(modes[i]); } return ret; }