]> 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 b1f784bb3e5d4b4d9a57d6e3e1efbaf192114b13..a7d1c92505cbacb08ff57b517fae7916b0312b28 100644 (file)
@@ -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.
         */