mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -08:00
don't report PERSISTENCE STATUS in reg burst for anonymous clients
This commit is contained in:
parent
99d27ff737
commit
893922afe0
1 changed files with 1 additions and 1 deletions
|
|
@ -420,7 +420,7 @@ func (server *Server) playRegistrationBurst(session *Session) {
|
|||
|
||||
rb := NewResponseBuffer(session)
|
||||
server.RplISupport(c, rb)
|
||||
if session.capabilities.Has(caps.Persistence) {
|
||||
if d.account != "" && session.capabilities.Has(caps.Persistence) {
|
||||
reportPersistenceStatus(c, rb)
|
||||
}
|
||||
server.Lusers(c, rb)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue