aboutsummaryrefslogtreecommitdiffstats
path: root/irc_cap.c
diff options
context:
space:
mode:
authordequis <dx@dxzone.com.ar>2015-09-12 05:25:33 -0300
committerdequis <dx@dxzone.com.ar>2015-10-08 02:25:56 -0300
commit687ec880201e4872a9abf72f5efe135164fc349b (patch)
tree4e49f1d713799ff679954978f4c8bd94b096282c /irc_cap.c
parent0b0bb4c68a1c87b8f77f266ea8e836758203f53e (diff)
IRCv3 multi-prefix... but mostly just adding prefixes to WHO
We can't actually have multiple prefixes internally, so the only thing missing for multi-prefix compliance is actually having the prefix in the WHO reply, which is a rfc1459 thing. Note to future self: check irc logs for the implementation I threw away. The one that actually handled multiple prefixes. I hope that's useful.
Diffstat (limited to 'irc_cap.c')
-rw-r--r--irc_cap.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/irc_cap.c b/irc_cap.c
index 3b139c94..79732409 100644
--- a/irc_cap.c
+++ b/irc_cap.c
@@ -37,8 +37,7 @@ typedef struct {
} cap_info_t;
static const cap_info_t supported_caps[] = {
- {"foo", CAP_FOO},
- {"bar", CAP_BAR},
+ {"multi-prefix", CAP_MULTI_PREFIX},
{NULL},
};