]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - include/client.h
Backed out changeset 0d7b5f2ac591
[irc/rqf/shadowircd.git] / include / client.h
index 3240b9fb7ca166f73c6dd490c3b4b4733741bf7b..2d673cf83c0f10fe9caa5f65e644b36e8276a38e 100644 (file)
@@ -421,8 +421,9 @@ struct ListClient
 #define UMODE_DEAF        0x0080
 #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_NOCTCP      0x0400       /* block CTCPs except for ACTION */
 #define UMODE_NOINVITE    0x0800       /* block invites */
+#define UMODE_BOT         0x8000       /* mark as a bot in whois */
 
 /* user information flags, only settable by remote mode or local oper */
 #define UMODE_OPER         0x1000      /* Operator */
@@ -518,6 +519,7 @@ struct ListClient
 #define IsSetRegOnlyMsg(x)     ((x)->umodes & UMODE_REGONLYMSG)
 #define IsSetNoCTCP(x)         ((x)->umodes & UMODE_NOCTCP)
 #define IsSetNoInvite(x)       ((x)->umodes & UMODE_NOINVITE)
+#define IsSetBot(x)            ((x)->umodes & UMODE_BOT)
 
 #define SetGotId(x)             ((x)->flags |= FLAGS_GOTID)
 #define IsGotId(x)              (((x)->flags & FLAGS_GOTID) != 0)