summary refs log tree commit diff
path: root/bounce.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-11-09 20:17:43 -0500
committerJune McEnroe <june@causal.agency>2019-11-09 20:17:43 -0500
commitd4ff0457718b573d2c9d20000c63014666bf5791 (patch)
tree0d7ffe78cdd734dbce769629ecf18b689a669b21 /bounce.h
parentParse capabilities (diff)
downloadpounce-d4ff0457718b573d2c9d20000c63014666bf5791.tar.gz
pounce-d4ff0457718b573d2c9d20000c63014666bf5791.zip
Maintain stateCaps and offer them to clients
Diffstat (limited to '')
-rw-r--r--bounce.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/bounce.h b/bounce.h
index 5dd2536..026199f 100644
--- a/bounce.h
+++ b/bounce.h
@@ -62,6 +62,7 @@ static inline struct Message parse(char *line) {
 	X("chghost", CapChghost) \
 	X("extended-join", CapExtendedJoin) \
 	X("invite-notify", CapInviteNotify) \
+	X("sasl", CapSASL) \
 	X("server-time", CapServerTime) \
 	X("", CapUnsupported)
 
@@ -144,6 +145,7 @@ size_t clientDiff(const struct Client *client);
 void clientConsume(struct Client *client);
 
 bool stateJoinNames;
+enum Cap stateCaps;
 void stateLogin(
 	const char *pass, bool sasl, const char *plain,
 	const char *nick, const char *user, const char *real