From 99b9312847f56a6725729e0ee59e3f328b555fe4 Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Fri, 18 Jun 2021 18:26:45 -0400 Subject: [PATCH 1/2] fix #1696 --- irc/channel.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irc/channel.go b/irc/channel.go index 785d5914..dc5fdd7a 100644 --- a/irc/channel.go +++ b/irc/channel.go @@ -1235,7 +1235,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('?') From d03615d29a92c3aeada599f2a3b3042358a05544 Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Fri, 18 Jun 2021 18:58:39 -0400 Subject: [PATCH 2/2] bump irctest for #1696 --- irctest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irctest b/irctest index a7d74369..e0e52f22 160000 --- a/irctest +++ b/irctest @@ -1 +1 @@ -Subproject commit a7d74369297e4c2d19ede914b5524d0dafb27173 +Subproject commit e0e52f225d3f8364d339e556bf990107dfa266dd