mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-21 02:22:05 -08:00
Fix implementation of LIST <n
This commit is contained in:
parent
db547020c8
commit
777cb7c991
1 changed files with 1 additions and 1 deletions
|
|
@ -1052,7 +1052,7 @@ func (matcher *elistMatcher) Matches(channel *Channel) bool {
|
||||||
}
|
}
|
||||||
|
|
||||||
if matcher.MaxClientsActive {
|
if matcher.MaxClientsActive {
|
||||||
if len(channel.Members()) < len(channel.members) {
|
if len(channel.Members()) > matcher.MaxClients {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue