X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fusers.h;h=a7d1c92505cbacb08ff57b517fae7916b0312b28;hb=49ef1162a51906e7444bb7e38736bd816c317db6;hp=b1f784bb3e5d4b4d9a57d6e3e1efbaf192114b13;hpb=1d3147a96ec3193929463830800c97df5f344b53;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/users.h b/include/users.h index b1f784bb3..a7d1c9250 100644 --- a/include/users.h +++ b/include/users.h @@ -268,6 +268,10 @@ class userrec : public connection * Create a displayable mode string for this users umodes */ const char* FormatModes(); + + bool IsModeSet(unsigned char m); + + void SetMode(unsigned char m, bool value); /** Returns true if a user is invited to a channel. */