mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-10 22:19:31 +01:00
don't set CapNegotiating for blind CAP REQ
This commit is contained in:
parent
97886dd00f
commit
4268c4a936
@ -291,7 +291,6 @@ func (msg *CapCommand) HandleRegServer(server *Server) {
|
||||
client.Reply(RplCap(client, CAP_LIST, client.capabilities))
|
||||
|
||||
case CAP_REQ:
|
||||
client.capState = CapNegotiating
|
||||
for capability := range msg.capabilities {
|
||||
if !SupportedCapabilities[capability] {
|
||||
client.Reply(RplCap(client, CAP_NAK, msg.capabilities))
|
||||
|
Loading…
Reference in New Issue
Block a user