Fixed a query rename bug
This commit is contained in:
parent
b155bf8d5f
commit
9f03f33a23
@ -136,7 +136,7 @@ void BasicChannel::updateChannelType(std::vector<property::ChannelProperties> &p
|
||||
}
|
||||
|
||||
bool BasicChannel::verify_password(const std::optional<std::string> &password, bool password_hashed) {
|
||||
if(!this->properties()[property::CHANNEL_FLAG_PASSWORD].as_unchecked<bool>()) {
|
||||
if(!this->properties()[property::CHANNEL_FLAG_PASSWORD].as_or<bool>(false)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user