Open Ep0chalypse opened 2 years ago
When using either Client or Sender's send_mode(target, modes) function only the first mode in the array is set.
For example this will only set mode #channel +v nickname
sender.send_mode(&channel, &[ Mode::Plus(ChannelMode::Voice, Some(nickname.to_string())), Mode::Plus(ChannelMode::Oper, Some(nickname.to_string())) ])?;
Or this will only set mode #channel +o nickname
sender.send_mode(&channel, &[ Mode::Plus(ChannelMode::Oper, Some(nickname.to_string())), Mode::Plus(ChannelMode::Voice, Some(nickname.to_string())) ])?;
Other info:
When using either Client or Sender's send_mode(target, modes) function only the first mode in the array is set.
For example this will only set mode #channel +v nickname
Or this will only set mode #channel +o nickname
Other info: