void OnChannel(string[] args) { var c = new ExistingChannel(); c.name = args[0]; int.TryParse(args[1], out c.userCount); if (args.Length >= 3) { c.topic = Utils.Glue(args, 2); } ExistingChannels.Add(c.name, c); }
void OnChannel(string[] args) { var c = new ExistingChannel(); c.name = args[0]; int.TryParse(args[1], out c.userCount); if (args.Length >= 3) c.topic = Utils.Glue(args, 2); ExistingChannels.Add(c.name, c); }