about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-09-20 20:25:11 -0400
committerJune McEnroe <june@causal.agency>2021-09-20 20:25:11 -0400
commit191163cc75ce0300b852cf68036bd9b6ebfe7f98 (patch)
tree2304fc471a1e2db6b688fec7184abe26395ec465
parentCorrect handling of colons in SASL PLAIN (diff)
downloadcatgirl-191163cc75ce0300b852cf68036bd9b6ebfe7f98.tar.gz
catgirl-191163cc75ce0300b852cf68036bd9b6ebfe7f98.zip
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
-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),