X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fusers.h;h=e7ad4b9d939a8ac6204b7cd31c40bf3071b92b4c;hb=c330b24501fc56516fef098428889a0a526e706a;hp=294bc1e1f358b42f3fecf78c242ffeff7d88961e;hpb=c2a5839bcbd6bebf0dd102a8dfd283e92c8a0507;p=user%2Fhenk%2Fcode%2Finspircd.git 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 chans;