apophis.SharpIRC.IrcFeatures.DccSend.TryAccept C# (CSharp) Method

TryAccept() private method

private TryAccept ( CtcpEventArgs e ) : bool
e apophis.SharpIRC.IrcClient.CtcpEventArgs
return bool
        internal bool TryAccept(CtcpEventArgs e)
        {
            if (User == e.Data.Nick)
            {
                if ((e.Data.MessageArray.Length > 4) && (filename == e.Data.MessageArray[2].Trim(new[] { '\"' })))
                {
                    return AcceptRequest(null, 0);
                }
            }
            return false;
        }