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
master
C. McEnroe 2021-09-20 20:25:11 -04:00
parent 506c5ad906
commit 191163cc75
1 changed files with 2 additions and 1 deletions

3
chat.h
View File

@ -178,7 +178,8 @@ extern struct Network {
X("sasl", CapSASL) \ X("sasl", CapSASL) \
X("server-time", CapServerTime) \ X("server-time", CapServerTime) \
X("setname", CapSetname) \ X("setname", CapSetname) \
X("userhost-in-names", CapUserhostInNames) X("userhost-in-names", CapUserhostInNames) \
X("znc.in/self-message", CapSelfMessage)
enum Cap { enum Cap {
#define X(name, id) BIT(id), #define X(name, id) BIT(id),