summary refs log tree commit diff
path: root/chat.h
diff options
context:
space:
mode:
authorC. McEnroe2021-09-20 20:25:11 -0400
committerC. McEnroe2021-09-20 20:25:11 -0400
commit191163cc75ce0300b852cf68036bd9b6ebfe7f98 (patch)
tree2304fc471a1e2db6b688fec7184abe26395ec465 /chat.h
parent506c5ad906bc187c645cacea5080360fabd4abb4 (diff)
Request znc.in/self-message if available
catgirl correctly handles receiving "self-messages". pounce always
sends them.

[1]: https://wiki.znc.in/Query_buffers
[2]: https://defs.ircdocs.horse/info/selfmessages.html
Diffstat (limited to 'chat.h')
-rw-r--r--chat.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/chat.h b/chat.h
index d9d9bdc..eec0e44 100644
--- a/chat.h
+++ b/chat.h
@@ -178,7 +178,8 @@ extern struct Network {
 	X("sasl", CapSASL) \
 	X("server-time", CapServerTime) \
 	X("setname", CapSetname) \
-	X("userhost-in-names", CapUserhostInNames)
+	X("userhost-in-names", CapUserhostInNames) \
+	X("znc.in/self-message", CapSelfMessage)
 
 enum Cap {
 #define X(name, id) BIT(id),