X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/ccfc9b567df2e2b6926f328fdbc6cf74970e2987..854f6bd0af758e653c6068ff9acd5c63277cb7f1:/include/client.h diff --git a/include/client.h b/include/client.h index dbd6910..3240b9f 100644 --- a/include/client.h +++ b/include/client.h @@ -422,6 +422,7 @@ struct ListClient #define UMODE_NOFORWARD 0x0100 /* don't forward */ #define UMODE_REGONLYMSG 0x0200 /* only allow logged in users to msg */ #define UMODE_NOCTCP 0x0400 /* block CTCPs except for ACTION */ +#define UMODE_NOINVITE 0x0800 /* block invites */ /* user information flags, only settable by remote mode or local oper */ #define UMODE_OPER 0x1000 /* Operator */ @@ -516,6 +517,7 @@ struct ListClient #define IsNoForward(x) ((x)->umodes & UMODE_NOFORWARD) #define IsSetRegOnlyMsg(x) ((x)->umodes & UMODE_REGONLYMSG) #define IsSetNoCTCP(x) ((x)->umodes & UMODE_NOCTCP) +#define IsSetNoInvite(x) ((x)->umodes & UMODE_NOINVITE) #define SetGotId(x) ((x)->flags |= FLAGS_GOTID) #define IsGotId(x) (((x)->flags & FLAGS_GOTID) != 0)