X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fusers.h;h=a7d1c92505cbacb08ff57b517fae7916b0312b28;hb=49ef1162a51906e7444bb7e38736bd816c317db6;hp=2b3f74742e11a42da1e6d6e13d61d005b73bc9d2;hpb=fc9e00f49299cb3b402406b5f185d5f4af1e9780;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/users.h b/include/users.h index 2b3f74742..a7d1c9250 100644 --- a/include/users.h +++ b/include/users.h @@ -269,7 +269,9 @@ class userrec : public connection */ const char* FormatModes(); - bool HasMode(unsigned char m); + bool IsModeSet(unsigned char m); + + void SetMode(unsigned char m, bool value); /** Returns true if a user is invited to a channel. */