mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-10 22:19:31 +01:00
rehash: Add note about cap del/new order
This commit is contained in:
parent
5c38800a02
commit
531cf675c8
@ -1380,6 +1380,7 @@ func (server *Server) rehash() error {
|
||||
added[Cap302] = stsPolicy
|
||||
}
|
||||
}
|
||||
// DEL caps and then send NEW ones so that updated caps get removed/added correctly
|
||||
if len(removedCaps) > 0 {
|
||||
sClient.Send(nil, server.name, "CAP", sClient.nick, "DEL", removed)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user