3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-22 03:49:27 +01:00

Merge pull request #1934 from progval/patch-5

Fix implementation of `LIST <n`
This commit is contained in:
Shivaram Lingamneni 2022-04-18 23:58:54 -04:00 committed by GitHub
commit 504cc44bf7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1090,7 +1090,7 @@ func (matcher *elistMatcher) Matches(channel *Channel) bool {
}
if matcher.MaxClientsActive {
if len(channel.Members()) < len(channel.members) {
if len(channel.Members()) > matcher.MaxClients {
return false
}
}