Przeglądaj źródła

don't report PERSISTENCE STATUS in reg burst for anonymous clients

tags/v2.11.0-rc1
Shivaram Lingamneni 1 rok temu
rodzic
commit
893922afe0
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      irc/server.go

+ 1
- 1
irc/server.go Wyświetl plik

@@ -420,7 +420,7 @@ func (server *Server) playRegistrationBurst(session *Session) {
420 420
 
421 421
 	rb := NewResponseBuffer(session)
422 422
 	server.RplISupport(c, rb)
423
-	if session.capabilities.Has(caps.Persistence) {
423
+	if d.account != "" && session.capabilities.Has(caps.Persistence) {
424 424
 		reportPersistenceStatus(c, rb)
425 425
 	}
426 426
 	server.Lusers(c, rb)

Ładowanie…
Anuluj
Zapisz