]> jfr.im git - solanum.git/blobdiff - modules/m_cap.c
Add topic TS and channel TS constraints for /LIST.
[solanum.git] / modules / m_cap.c
index 94aebaca8eee25f3cf679088d28a127714b8de64..0530537db6facc1c64795b1c6341f7d8d0fc35db 100644 (file)
@@ -69,7 +69,9 @@ static struct clicap
        int namelen;
 } clicap_list[] = {
        _CLICAP("multi-prefix", CLICAP_MULTI_PREFIX, 0, 0),
-       _CLICAP("sasl", CLICAP_SASL, 0, 0)
+       _CLICAP("sasl", CLICAP_SASL, 0, 0),
+       _CLICAP("account-notify", CLICAP_ACCOUNT_NOTIFY, 0, 0),
+       _CLICAP("extended-join", CLICAP_EXTENDED_JOIN, 0, 0),
 };
 
 #define CLICAP_LIST_LEN (sizeof(clicap_list) / sizeof(struct clicap))
@@ -174,7 +176,7 @@ clicap_generate(struct Client *source_p, const char *subcmd, int flags, int clea
        char *p;
        int buflen = 0;
        int curlen, mlen;
-       int i;
+       size_t i;
 
        mlen = rb_sprintf(buf, ":%s CAP %s %s",
                        me.name,