aboutsummaryrefslogtreecommitdiffstats
path: root/irc_cap.c
diff options
context:
space:
mode:
authordequis <dx@dxzone.com.ar>2015-11-20 12:33:34 -0300
committerdequis <dx@dxzone.com.ar>2015-11-20 12:51:45 -0300
commit80c2f3c775d7a7dd5a59068f1cefe55370f56529 (patch)
tree1bfdc0ed361aa8fcbdb6c6ea1c5e5af0b0920112 /irc_cap.c
parent0d8a9bb00abe74164cd643e003f4285a299d62a5 (diff)
IRCv3 away-notify capability
Neat lightweight notifications of the awayness of contacts. In practice, this means weechat/hexchat users can see away people in their nick list and change show_users to 'online,special,away' to avoid the mode spam completely. These are also sent on online/offline changes, since offline_user_quits can be turned off, and you'd need something when they come back.
Diffstat (limited to 'irc_cap.c')
-rw-r--r--irc_cap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/irc_cap.c b/irc_cap.c
index 4d1c2caa..76935d26 100644
--- a/irc_cap.c
+++ b/irc_cap.c
@@ -40,6 +40,7 @@ static const cap_info_t supported_caps[] = {
{"sasl", CAP_SASL},
{"multi-prefix", CAP_MULTI_PREFIX},
{"extended-join", CAP_EXTENDED_JOIN},
+ {"away-notify", CAP_AWAY_NOTIFY},
{NULL},
};