mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-22 03:49:27 +01:00
fix #1696
This commit is contained in:
parent
8659683fee
commit
a09ea9a506
@ -1309,7 +1309,7 @@ func (channel *Channel) CanSpeak(client *Client) (bool, modes.Mode) {
|
||||
return false, modes.RegisteredOnly
|
||||
}
|
||||
if channel.flags.HasMode(modes.RegisteredOnlySpeak) && client.Account() == "" &&
|
||||
clientModes.HighestChannelUserMode() != modes.Mode(0) {
|
||||
clientModes.HighestChannelUserMode() == modes.Mode(0) {
|
||||
return false, modes.RegisteredOnlySpeak
|
||||
}
|
||||
return true, modes.Mode('?')
|
||||
|
Loading…
Reference in New Issue
Block a user