summaryrefslogtreecommitdiff
path: root/include/users.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/users.h')
-rw-r--r--include/users.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/users.h b/include/users.h
index 294bc1e1f..e7ad4b9d9 100644
--- a/include/users.h
+++ b/include/users.h
@@ -150,6 +150,13 @@ class userrec : public connection
* an optional + character.
*/
char modes[54];
+
+ /** This contains a bitmask of the RFC modes +swi,
+ * which can be used for fast lookup when iterating all the users.
+ * It is maintained by the mode parser and matches the character
+ * modes stored in 'modes'.
+ */
+ char modebits;
std::vector<ucrec*> chans;