sharp-chat/SharpChat.Protocol.IRC/ClientCommands/ServerQuitCommand.cs
2022-08-30 17:05:29 +02:00

15 lines
423 B
C#

using SharpChat.Protocol.IRC.Replies;
namespace SharpChat.Protocol.IRC.ClientCommands {
public class ServerQuitCommand : IClientCommand {
public const string NAME = @"SQUIT";
public string CommandName => NAME;
public bool RequireSession => true;
public void HandleCommand(ClientCommandContext ctx) {
ctx.Connection.SendReply(new NoPrivilegesReply());
}
}
}