mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-15 08:29:31 +01:00
commit
6786b87fbd
@ -1235,7 +1235,7 @@ func (channel *Channel) CanSpeak(client *Client) (bool, modes.Mode) {
|
|||||||
return false, modes.RegisteredOnly
|
return false, modes.RegisteredOnly
|
||||||
}
|
}
|
||||||
if channel.flags.HasMode(modes.RegisteredOnlySpeak) && client.Account() == "" &&
|
if channel.flags.HasMode(modes.RegisteredOnlySpeak) && client.Account() == "" &&
|
||||||
clientModes.HighestChannelUserMode() != modes.Mode(0) {
|
clientModes.HighestChannelUserMode() == modes.Mode(0) {
|
||||||
return false, modes.RegisteredOnlySpeak
|
return false, modes.RegisteredOnlySpeak
|
||||||
}
|
}
|
||||||
return true, modes.Mode('?')
|
return true, modes.Mode('?')
|
||||||
|
2
irctest
2
irctest
@ -1 +1 @@
|
|||||||
Subproject commit a7d74369297e4c2d19ede914b5524d0dafb27173
|
Subproject commit e0e52f225d3f8364d339e556bf990107dfa266dd
|
Loading…
Reference in New Issue
Block a user