Esempio n. 1
0
 public User(UserInfo info, Network network)
 {
     MakeUser(info.Nick, info.Host, network, info.Ident);
 }
Esempio n. 2
0
 /// <summary>
 /// Creates a new user
 /// </summary>
 /// <param name="user">user!ident@hostname</param>
 /// <param name="network">Network this class belongs to</param>
 public User(string source, Network network)
 {
     UserInfo info = new UserInfo(source);
     MakeUser(info.Nick, info.Host, network, info.Ident);
 }