forked from lavina/lavina
irc: remove "None" fake capability
This commit is contained in:
parent
25fe041698
commit
26cc2f178c
|
@ -3,7 +3,6 @@ use bitflags::bitflags;
|
|||
bitflags! {
|
||||
#[derive(Debug, Clone, Copy)]
|
||||
pub struct Capabilities: u32 {
|
||||
const None = 0;
|
||||
const Sasl = 1 << 0;
|
||||
const ServerTime = 1 << 1;
|
||||
const ChatHistory = 1 << 2;
|
||||
|
|
|
@ -109,7 +109,7 @@ impl RegistrationState {
|
|||
RegistrationState {
|
||||
future_nickname: None,
|
||||
future_username: None,
|
||||
enabled_capabilities: Capabilities::None,
|
||||
enabled_capabilities: Capabilities::empty(),
|
||||
cap_negotiation_in_progress: false,
|
||||
pass: None,
|
||||
authentication_started: false,
|
||||
|
|
Loading…
Reference in New Issue