]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/users.h
Alter SetModeParam to take const char* to save on casts, notice a load of modules...
[user/henk/code/inspircd.git] / include / users.h
index 2b3f74742e11a42da1e6d6e13d61d005b73bc9d2..a7d1c92505cbacb08ff57b517fae7916b0312b28 100644 (file)
@@ -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.
         */