summaryrefslogtreecommitdiff
path: root/src/fe-common/irc/module-formats.c
diff options
context:
space:
mode:
authorailin-nemui <ailin-nemui@users.noreply.github.com>2018-04-24 13:58:04 +0200
committerGitHub <noreply@github.com>2018-04-24 13:58:04 +0200
commit13b2f349b68bbef2550238c62519ab2acf013855 (patch)
tree5f0c7d22ab01be67f947fe621cb211dd35da4d8d /src/fe-common/irc/module-formats.c
parent68302f2d1fb1908ccac56b50ddf70abdb02f9aa5 (diff)
parentd0151fd5a21cf026afa67239ad79f23bc26f0a10 (diff)
downloadirssi-13b2f349b68bbef2550238c62519ab2acf013855.zip
Merge pull request #870 from dequis/fe-cap
Add fe-cap to show messages for CAP-related events in the UI
Diffstat (limited to 'src/fe-common/irc/module-formats.c')
-rw-r--r--src/fe-common/irc/module-formats.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/fe-common/irc/module-formats.c b/src/fe-common/irc/module-formats.c
index f7b074ec..722aed73 100644
--- a/src/fe-common/irc/module-formats.c
+++ b/src/fe-common/irc/module-formats.c
@@ -46,6 +46,13 @@ FORMAT_REC fecommon_irc_formats[] = {
{ "setupserver_footer", "", 0 },
{ "sasl_success", "SASL authentication succeeded", 0 },
{ "sasl_error", "Cannot authenticate via SASL ($0)", 1, { 0 } },
+ { "cap_req", "Capabilities requested: $0", 1, { 0 } },
+ { "cap_ls", "Capabilities supported: $0", 1, { 0 } },
+ { "cap_ack", "Capabilities acknowledged: $0", 1, { 0 } },
+ { "cap_nak", "Capabilities refused: $0", 1, { 0 } },
+ { "cap_list", "Capabilities currently enabled: $0", 1, { 0 } },
+ { "cap_new", "Capabilities now available: $0", 1, { 0 } },
+ { "cap_del", "Capabilities removed: $0", 1, { 0 } },
/* ---- */
{ NULL, "Channels", 0 },