From 4268c4a936fc64284e97eaa226a3aaaf99a38efe Mon Sep 17 00:00:00 2001 From: Jeremy Latt Date: Sat, 8 Mar 2014 14:16:35 -0800 Subject: [PATCH] don't set CapNegotiating for blind CAP REQ --- irc/server.go | 1 - 1 file changed, 1 deletion(-) diff --git a/irc/server.go b/irc/server.go index 9c7acae9..a4e8f9a3 100644 --- a/irc/server.go +++ b/irc/server.go @@ -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))