forked from External/ergo
don't set CapNegotiating for blind CAP REQ
This commit is contained in:
parent
97886dd00f
commit
4268c4a936
1 changed files with 0 additions and 1 deletions
|
|
@ -291,7 +291,6 @@ func (msg *CapCommand) HandleRegServer(server *Server) {
|
||||||
client.Reply(RplCap(client, CAP_LIST, client.capabilities))
|
client.Reply(RplCap(client, CAP_LIST, client.capabilities))
|
||||||
|
|
||||||
case CAP_REQ:
|
case CAP_REQ:
|
||||||
client.capState = CapNegotiating
|
|
||||||
for capability := range msg.capabilities {
|
for capability := range msg.capabilities {
|
||||||
if !SupportedCapabilities[capability] {
|
if !SupportedCapabilities[capability] {
|
||||||
client.Reply(RplCap(client, CAP_NAK, msg.capabilities))
|
client.Reply(RplCap(client, CAP_NAK, msg.capabilities))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue