mirror of
https://github.com/jeremyd/ergo.git
synced 2026-06-11 15:23:31 -07:00
Fix implementation of LIST <n
This commit is contained in:
+1
-1
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user