From dac43e6e76de770361c69b3a40dbde9a1bb70c00 Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Sun, 1 Nov 2020 18:09:04 -0500 Subject: [PATCH 1/2] fix #1370 --- irc/channel.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irc/channel.go b/irc/channel.go index 59a80a04..d444de74 100644 --- a/irc/channel.go +++ b/irc/channel.go @@ -1256,7 +1256,7 @@ func (channel *Channel) isMuted(client *Client) bool { if muteRe == nil { return false } - nuh := client.NickMaskString() + nuh := client.NickMaskCasefolded() return muteRe.MatchString(nuh) && !channel.lists[modes.ExceptMask].MatchMute(nuh) } From ee849d2e8ff4bca33967f776aaa55447db2fd78a Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Sun, 1 Nov 2020 18:15:36 -0500 Subject: [PATCH 2/2] include a regression test in irctest --- irctest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irctest b/irctest index d48cbc42..512b4bd7 160000 --- a/irctest +++ b/irctest @@ -1 +1 @@ -Subproject commit d48cbc4287348d25eb70cce4c9bb94eb51d938b3 +Subproject commit 512b4bd74d685aa7ff978668d2c6a124416cebd2