mirror of
https://github.com/jeremyd/ergo.git
synced 2026-06-03 03:33:35 -07:00
Merge pull request #1934 from progval/patch-5
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 matcher.MaxClientsActive {
|
||||||
if len(channel.Members()) < len(channel.members) {
|
if len(channel.Members()) > matcher.MaxClients {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user