]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/mode.h
Remove spanningtree override of /LUSERS
[user/henk/code/inspircd.git] / include / mode.h
index a633cebcac9a807a9c03c91fef867f9b2d109f9f..31d0922077a51977f88a8d5c37fc7a4cedcaecdc 100644 (file)
@@ -90,7 +90,7 @@ enum ParamSpec
  * mode is expected to have a parameter, then this is
  * equivalent to returning MODEACTION_DENY.
  */
-class CoreExport ModeHandler : public classbase
+class CoreExport ModeHandler : public ServiceProvider
 {
  protected:
        /**
@@ -135,22 +135,12 @@ class CoreExport ModeHandler : public classbase
         */
        ModeType m_type;
 
-       /** Number of items with this mode set on them
-        */
-       unsigned int count;
-
        /** The prefix char needed on channel to use this mode,
         * only checked for channel modes
         */
        int levelrequired;
 
  public:
-       /** Module that created this mode. NULL for core modes */
-       ModuleRef creator;
-       /** Long-form name
-        */
-       const std::string name;
-
        /**
         * The constructor for ModeHandler initalizes the mode handler.
         * The constructor of any class you derive from ModeHandler should
@@ -173,12 +163,6 @@ class CoreExport ModeHandler : public classbase
         * value for this mode prefix.
         */
        inline char GetPrefix() const { return prefix; }
-       /** 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.