示例#1
0
 /// <summary>
 /// Construct an IrcTarget from an IrcPeer. This is useful when replying to a received message.
 /// </summary>
 /// <param name="peer"></param>
 public IrcTarget(IrcPeer peer)
 {
     this.IsChannel = false;
     this.Name = peer.Nickname;
 }
示例#2
0
 /// <summary>
 /// Construct an IrcTarget from an IrcPeer. This is useful when replying to a received message.
 /// </summary>
 /// <param name="peer"></param>
 public IrcTarget(IrcPeer peer)
 {
     this.IsChannel = false;
     this.Name      = peer.Nickname;
 }