src/Channels/ChannelUser.cs
/// <summary>
/// Bans the user from the channel.
/// </summary>
Bans the user from the channel.
Bans the user from the channel .
public void Ban()
		{
			string strHostmask = objUser.Nick + "!*@*";
			if (objUser.Identity != null && objUser.Identity != "")
				strHostmask = "*!" + objUser.Identity + "@" + objUser.Host;
			base.CurrentConnection.SendData("MODE " + strChannelName + " +b " + strHostmask + "\r\n");
		}
public void Ban ( ) { string strHostmask = objUser . Nick + " " ; if ( objUser . Identity != null && objUser . Identity != " " ) strHostmask = " " + objUser . Identity + " " + objUser . Host ; base . CurrentConnection . SendData ( " " + strChannelName + " " + strHostmask + " \r \n " ) ; }
Bans the user from the channel.
Bans the user from the channel .