Selaa lähdekoodia

Merge pull request #1934 from progval/patch-5

Fix implementation of `LIST <n`
tags/v2.10.0-rc1
Shivaram Lingamneni 2 vuotta sitten
vanhempi
commit
504cc44bf7
No account linked to committer's email address
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1
    1
      irc/server.go

+ 1
- 1
irc/server.go Näytä tiedosto

@@ -1090,7 +1090,7 @@ func (matcher *elistMatcher) Matches(channel *Channel) bool {
1090 1090
 	}
1091 1091
 
1092 1092
 	if matcher.MaxClientsActive {
1093
-		if len(channel.Members()) < len(channel.members) {
1093
+		if len(channel.Members()) > matcher.MaxClients {
1094 1094
 			return false
1095 1095
 		}
1096 1096
 	}

Loading…
Peruuta
Tallenna