]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/mode.h
Add third parameter to OnUserQuit (quit reason for opers only) - bump api version
[user/henk/code/inspircd.git] / include / mode.h
index 62374be6c2c279b039c4872a74606e93fd70511f..2875d853ea72af62c272c7602962b407e8b1d064 100644 (file)
@@ -134,7 +134,7 @@ class ModeHandler : public Extensible
 
        /** Number of items with this mode set on them
         */
-       static unsigned int count;
+       unsigned int count;
 
  public:
        /**
@@ -171,6 +171,9 @@ class ModeHandler : public Extensible
        /** Get number of items with this mode set on them
         */
        virtual unsigned int GetCount();
+       /** Adjust usage count returned by GetCount
+        */
+       virtual void ChangeCount(int modifier);
        /**
         * Get the 'value' of this modes prefix.
         * determines which to display when there are multiple.