summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/lrstanley/girc/constants.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2019-09-07 21:35:45 +0200
committerGitHub <noreply@github.com>2019-09-07 21:35:45 +0200
commit1532f6e42798d1071c8a97423e838338bed7b570 (patch)
tree4ae23c4a5da97e8c1d86a28460340fa2cb5e1c78 /vendor/github.com/lrstanley/girc/constants.go
parent9327810bbfe9cf0da2415d223fc642d943ff2ade (diff)
downloadmatterbridge-msglm-1532f6e42798d1071c8a97423e838338bed7b570.tar.gz
matterbridge-msglm-1532f6e42798d1071c8a97423e838338bed7b570.tar.bz2
matterbridge-msglm-1532f6e42798d1071c8a97423e838338bed7b570.zip
Update lrstanley/girc vendor (#884)
Diffstat (limited to 'vendor/github.com/lrstanley/girc/constants.go')
-rw-r--r--vendor/github.com/lrstanley/girc/constants.go18
1 files changed, 11 insertions, 7 deletions
diff --git a/vendor/github.com/lrstanley/girc/constants.go b/vendor/github.com/lrstanley/girc/constants.go
index ddea7d0d..a190ef21 100644
--- a/vendor/github.com/lrstanley/girc/constants.go
+++ b/vendor/github.com/lrstanley/girc/constants.go
@@ -21,13 +21,15 @@ const (
// Emulated event commands used to allow easier hooks into the changing
// state of the client.
const (
- UPDATE_STATE = "CLIENT_STATE_UPDATED" // when channel/user state is updated.
- UPDATE_GENERAL = "CLIENT_GENERAL_UPDATED" // when general state (client nick, server name, etc) is updated.
- ALL_EVENTS = "*" // trigger on all events
- CONNECTED = "CLIENT_CONNECTED" // when it's safe to send arbitrary commands (joins, list, who, etc), trailing is host:port
- INITIALIZED = "CLIENT_INIT" // verifies successful socket connection, trailing is host:port
- DISCONNECTED = "CLIENT_DISCONNECTED" // occurs when we're disconnected from the server (user-requested or not)
- CLOSED = "CLIENT_CLOSED" // occurs when Client.Close() has been called
+ UPDATE_STATE = "CLIENT_STATE_UPDATED" // when channel/user state is updated.
+ UPDATE_GENERAL = "CLIENT_GENERAL_UPDATED" // when general state (client nick, server name, etc) is updated.
+ ALL_EVENTS = "*" // trigger on all events
+ CONNECTED = "CLIENT_CONNECTED" // when it's safe to send arbitrary commands (joins, list, who, etc), trailing is host:port
+ INITIALIZED = "CLIENT_INIT" // verifies successful socket connection, trailing is host:port
+ DISCONNECTED = "CLIENT_DISCONNECTED" // occurs when we're disconnected from the server (user-requested or not)
+ CLOSED = "CLIENT_CLOSED" // occurs when Client.Close() has been called
+ STS_UPGRADE_INIT = "STS_UPGRADE_INIT" // when an STS upgrade initially happens.
+ STS_ERR_FALLBACK = "STS_ERR_FALLBACK" // when an STS connection fails and fallbacks are supported.
)
// User/channel prefixes :: RFC1459.
@@ -225,6 +227,7 @@ const (
ERR_NOTOPLEVEL = "413"
ERR_WILDTOPLEVEL = "414"
ERR_BADMASK = "415"
+ ERR_INPUTTOOLONG = "417"
ERR_UNKNOWNCOMMAND = "421"
ERR_NOMOTD = "422"
ERR_NOADMININFO = "423"
@@ -286,6 +289,7 @@ const (
CAP_CHGHOST = "CHGHOST"
CAP_AWAY = "AWAY"
CAP_ACCOUNT = "ACCOUNT"
+ CAP_TAGMSG = "TAGMSG"
)
// Numeric IRC reply mapping for ircv3 :: http://ircv3.net/irc/.