3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-11 06:29:29 +01:00
This commit is contained in:
Shivaram Lingamneni 2020-11-01 18:09:04 -05:00
parent 40118d1533
commit dac43e6e76

View File

@ -1256,7 +1256,7 @@ func (channel *Channel) isMuted(client *Client) bool {
if muteRe == nil { if muteRe == nil {
return false return false
} }
nuh := client.NickMaskString() nuh := client.NickMaskCasefolded()
return muteRe.MatchString(nuh) && !channel.lists[modes.ExceptMask].MatchMute(nuh) return muteRe.MatchString(nuh) && !channel.lists[modes.ExceptMask].MatchMute(nuh)
} }