Fix implementation of LIST <n

This commit is contained in:
Val Lorentz
2022-04-16 22:55:58 +02:00
committed by GitHub
parent 1f08c97238
commit 379632a9e6
+1 -1
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
}
}