mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-22 03:49:27 +01:00
don't report PERSISTENCE STATUS in reg burst for anonymous clients
This commit is contained in:
parent
99d27ff737
commit
893922afe0
@ -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…
Reference in New Issue
Block a user