{"action":"opened","issue":{"url":"https://api.github.com/repos/fluffle/goirc/issues/77","labels_url":"https://api.github.com/repos/fluffle/goirc/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/fluffle/goirc/issues/77/comments","events_url":"https://api.github.com/repos/fluffle/goirc/issues/77/events","html_url":"https://github.com/fluffle/goirc/issues/77","id":126294664,"number":77,"title":"Support IRCv3 capability negotiation during registration.","user":{"login":"fluffle","id":169107,"avatar_url":"https://avatars.githubusercontent.com/u/169107?v=3","gravatar_id":"","url":"https://api.github.com/users/fluffle","html_url":"https://github.com/fluffle","followers_url":"https://api.github.com/users/fluffle/followers","following_url":"https://api.github.com/users/fluffle/following{/other_user}","gists_url":"https://api.github.com/users/fluffle/gists{/gist_id}","starred_url":"https://api.github.com/users/fluffle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fluffle/subscriptions","organizations_url":"https://api.github.com/users/fluffle/orgs","repos_url":"https://api.github.com/users/fluffle/repos","events_url":"https://api.github.com/users/fluffle/events{/privacy}","received_events_url":"https://api.github.com/users/fluffle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"fluffle","id":169107,"avatar_url":"https://avatars.githubusercontent.com/u/169107?v=3","gravatar_id":"","url":"https://api.github.com/users/fluffle","html_url":"https://github.com/fluffle","followers_url":"https://api.github.com/users/fluffle/followers","following_url":"https://api.github.com/users/fluffle/following{/other_user}","gists_url":"https://api.github.com/users/fluffle/gists{/gist_id}","starred_url":"https://api.github.com/users/fluffle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fluffle/subscriptions","organizations_url":"https://api.github.com/users/fluffle/orgs","repos_url":"https://api.github.com/users/fluffle/repos","events_url":"https://api.github.com/users/fluffle/events{/privacy}","received_events_url":"https://api.github.com/users/fluffle/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2016-01-12T22:39:55Z","updated_at":"2016-01-12T22:39:55Z","closed_at":null,"body":"http://ircv3.net/specs/core/capability-negotiation-3.1.html\r\nhttp://ircv3.net/specs/core/capability-negotiation-3.2.html\r\n\r\nTL;DR: We need to send a CAP LS before USER and NICK. Not too sure of a final design yet, but one easy way to do it could be to add a []string of capabilities to try and request if the server supports them to the Config struct.\r\n\r\nCAP tls and STARTTLS would require different handling, I'll file a different issue for that."}}