summary refs log tree commit diff
path: root/chat.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-12-29 23:49:16 -0500
committerJune McEnroe <june@causal.agency>2020-12-29 23:54:30 -0500
commit1662b01a5f616bd4babc08e1eb6fec1a3c7b44cf (patch)
tree2fba4e960bbd7cac6e55ed96cf4cd6a5f47d9fe7 /chat.h
parentHandle so-called Standard Replies (diff)
downloadcatgirl-1662b01a5f616bd4babc08e1eb6fec1a3c7b44cf.tar.gz
catgirl-1662b01a5f616bd4babc08e1eb6fec1a3c7b44cf.zip
Add /setname command
I'm not sure about that replies check in handleStandardReply. If more of
those are added the reply counter system will definitely need
refactoring.
Diffstat (limited to 'chat.h')
-rw-r--r--chat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chat.h b/chat.h
index 19e4eeb..82ffded 100644
--- a/chat.h
+++ b/chat.h
@@ -171,6 +171,7 @@ extern struct Network {
 	X("multi-prefix", CapMultiPrefix) \
 	X("sasl", CapSASL) \
 	X("server-time", CapServerTime) \
+	X("setname", CapSetname) \
 	X("userhost-in-names", CapUserhostInNames)
 
 enum Cap {
@@ -256,6 +257,7 @@ extern struct Replies {
 	uint list;
 	uint mode;
 	uint names;
+	uint setname;
 	uint topic;
 	uint who;
 	uint whois;