Change from replie to reply

This commit is contained in:
Andrej 2017-01-05 15:08:00 +07:00
parent 3a587c6f59
commit 9e8e73c1a8
3 changed files with 8 additions and 8 deletions

View File

@ -4,16 +4,16 @@ using System.Net.Sockets;
namespace ChatSharp.Events
{
/// <summary>
/// Raised when a IRC Error replie occurs. See rfc1459 6.1 for details.
/// Raised when a IRC Error reply occurs. See rfc1459 6.1 for details.
/// </summary>
public class ErrorReplieEventArgs : EventArgs
public class ErrorReplyEventArgs : EventArgs
{
/// <summary>
/// The IRC error replie that has occured.
/// The IRC error reply that has occured.
/// </summary>
public IrcMessage Message { get; set; }
internal ErrorReplieEventArgs(IrcMessage message)
internal ErrorReplyEventArgs(IrcMessage message)
{
Message = message;
}

View File

@ -13,7 +13,7 @@ namespace ChatSharp.Handlers
/// </summary>
public static void HandleError(IrcClient client, IrcMessage message)
{
client.OnErrorReplie(new Events.ErrorReplieEventArgs(message));
client.OnErrorReply(new Events.ErrorReplyEventArgs(message));
}
}
}

View File

@ -369,10 +369,10 @@ namespace ChatSharp
/// <summary>
/// IRC Error Replies. rfc1459 6.1.
/// </summary>
public event EventHandler<Events.ErrorReplieEventArgs> ErrorReplie;
internal void OnErrorReplie(Events.ErrorReplieEventArgs e)
public event EventHandler<Events.ErrorReplyEventArgs> ErrorReply;
internal void OnErrorReply(Events.ErrorReplyEventArgs e)
{
if (ErrorReplie != null) ErrorReplie(this, e);
if (ErrorReply != null) ErrorReply(this, e);
}
/// <summary>
/// Raised for errors.