Example #1
0
 public void Join(string username)
 {
     User user = new User(username);
     this.nickNames.Add(user);
     //this.nickNames.Sort();
     this.server.ReceivedChannelCommands(this, "JOIN");
 }
Example #2
0
 public void setNickNames(string[] commandParts)
 {
     for (int intI = 6; intI < commandParts.Length; intI++)
     {
         User newUser = new User(commandParts[intI]);
         this.nickNames.Add(newUser);
     }
     //this.nickNames.Sort();
     this.server.ReceivedChannelCommands(this, "NAMES");
 }