sharp-chat/SharpChat.Protocol.IRC/ClientCommands/ServerQuitCommand.cs

15 lines
423 B
C#
Raw Normal View History

2022-08-30 15:05:29 +00:00
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());
}
}
}