mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-22 11:59:40 +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)
|
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…
Reference in New Issue
Block a user