X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fmode.h;h=2875d853ea72af62c272c7602962b407e8b1d064;hb=38ca8be9a3881a3cb3cf6864e67b779ffbab6874;hp=62374be6c2c279b039c4872a74606e93fd70511f;hpb=5e9a6b9186a8cbaaf65ae7d9cd9c0c033c91b497;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/mode.h b/include/mode.h index 62374be6c..2875d853e 100644 --- a/include/mode.h +++ b/include/mode.h @@ -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.