forked from External/ergo
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)
|
rb := NewResponseBuffer(session)
|
||||||
server.RplISupport(c, rb)
|
server.RplISupport(c, rb)
|
||||||
if session.capabilities.Has(caps.Persistence) {
|
if d.account != "" && session.capabilities.Has(caps.Persistence) {
|
||||||
reportPersistenceStatus(c, rb)
|
reportPersistenceStatus(c, rb)
|
||||||
}
|
}
|
||||||
server.Lusers(c, rb)
|
server.Lusers(c, rb)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue