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

Fix implementation of LIST <n

This commit is contained in:
Val Lorentz 2022-04-16 22:55:58 +02:00 committed by Shivaram Lingamneni
parent db547020c8
commit 777cb7c991

View File

@ -1052,7 +1052,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
}
}