Removed CAP CLEAR subcommand.
This commit is contained in:
parent
fcca39a98d
commit
3a8aa7b738
1 changed files with 0 additions and 4 deletions
|
@ -1062,8 +1062,6 @@ pub enum CapSubCommand {
|
||||||
ACK,
|
ACK,
|
||||||
/// Does not acknowledge certain capabilities.
|
/// Does not acknowledge certain capabilities.
|
||||||
NAK,
|
NAK,
|
||||||
/// Requests that the server clears the capabilities of this client.
|
|
||||||
CLEAR,
|
|
||||||
/// Ends the capability negotiation before registration.
|
/// Ends the capability negotiation before registration.
|
||||||
END
|
END
|
||||||
}
|
}
|
||||||
|
@ -1077,7 +1075,6 @@ impl CapSubCommand {
|
||||||
&CapSubCommand::REQ => "REQ",
|
&CapSubCommand::REQ => "REQ",
|
||||||
&CapSubCommand::ACK => "ACK",
|
&CapSubCommand::ACK => "ACK",
|
||||||
&CapSubCommand::NAK => "NAK",
|
&CapSubCommand::NAK => "NAK",
|
||||||
&CapSubCommand::CLEAR => "CLEAR",
|
|
||||||
&CapSubCommand::END => "END",
|
&CapSubCommand::END => "END",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1097,7 +1094,6 @@ impl FromStr for CapSubCommand {
|
||||||
"REQ" => Ok(CapSubCommand::REQ),
|
"REQ" => Ok(CapSubCommand::REQ),
|
||||||
"ACK" => Ok(CapSubCommand::ACK),
|
"ACK" => Ok(CapSubCommand::ACK),
|
||||||
"NAK" => Ok(CapSubCommand::NAK),
|
"NAK" => Ok(CapSubCommand::NAK),
|
||||||
"CLEAR" => Ok(CapSubCommand::CLEAR),
|
|
||||||
"END" => Ok(CapSubCommand::END),
|
"END" => Ok(CapSubCommand::END),
|
||||||
_ => Err("Failed to parse CAP subcommand."),
|
_ => Err("Failed to parse CAP subcommand."),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue