Explorar el Código

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

tags/v2.11.0-rc1
Shivaram Lingamneni hace 1 año
padre
commit
893922afe0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      irc/server.go

+ 1
- 1
irc/server.go Ver fichero

@@ -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)

Loading…
Cancelar
Guardar