mirror of
https://github.com/IllusionMan1212/gorc.git
synced 2026-10-24 02:12:33 +00:00
feat: implement ISUPPORT and add support for a few easy features
fix: CAP ACK commands with no acknowledged capabilities causing an OOB. Also log unsupported and unknown capabilities and features.
This commit is contained in:
@@ -95,9 +95,13 @@ type Client struct {
|
||||
|
||||
// The acknowledged capabilities
|
||||
EnabledCapabilities Capabilities
|
||||
|
||||
// The features currently enabled for this client
|
||||
EnabledFeatures Features
|
||||
}
|
||||
|
||||
type Capabilities map[string]string
|
||||
type Features map[string]string
|
||||
|
||||
type MsgFmtOpts struct {
|
||||
WithTimestamp bool
|
||||
|
||||
Reference in New Issue
Block a user