summaryrefslogtreecommitdiff
path: root/include/mode.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-01-03 20:58:21 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-01-03 20:58:21 +0000
commit2802a62272f4295ecc3bd73a44950749e8b96877 (patch)
tree05e5e96e2894fea4943d087ff165fc981d73b838 /include/mode.h
parentc218d8091fd673632e0bae5f416d523b81100904 (diff)
Fix lusers breakage introduced by latest set of optimizations
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6219 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/mode.h')
-rw-r--r--include/mode.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mode.h b/include/mode.h
index d28b03529..2875d853e 100644
--- a/include/mode.h
+++ b/include/mode.h
@@ -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.