3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-12-22 18:52:41 +01:00

don't set CapNegotiating for blind CAP REQ

This commit is contained in:
Jeremy Latt 2014-03-08 14:16:35 -08:00
parent 97886dd00f
commit 4268c4a936

View File

@ -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))