From d4ff0457718b573d2c9d20000c63014666bf5791 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Sat, 9 Nov 2019 20:17:43 -0500 Subject: Maintain stateCaps and offer them to clients --- bounce.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bounce.h') 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 -- cgit 1.4.1