summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/mode.h10
-rw-r--r--include/modes/umode_i.h1
-rw-r--r--include/modes/umode_o.h1
-rw-r--r--include/modes/umode_w.h1
-rw-r--r--include/users.h5
5 files changed, 0 insertions, 18 deletions
diff --git a/include/mode.h b/include/mode.h
index ce9d2ee2b..31d092207 100644
--- a/include/mode.h
+++ b/include/mode.h
@@ -135,10 +135,6 @@ class CoreExport ModeHandler : public ServiceProvider
*/
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
*/
@@ -167,12 +163,6 @@ class CoreExport ModeHandler : public ServiceProvider
* 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.
diff --git a/include/modes/umode_i.h b/include/modes/umode_i.h
index 58ec2d4ca..062126779 100644
--- a/include/modes/umode_i.h
+++ b/include/modes/umode_i.h
@@ -21,5 +21,4 @@ class ModeUserInvisible : public SimpleUserModeHandler
{
public:
ModeUserInvisible();
- unsigned int GetCount();
};
diff --git a/include/modes/umode_o.h b/include/modes/umode_o.h
index a58c55670..f47280d09 100644
--- a/include/modes/umode_o.h
+++ b/include/modes/umode_o.h
@@ -22,5 +22,4 @@ class ModeUserOperator : public ModeHandler
public:
ModeUserOperator();
ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string &parameter, bool adding);
- unsigned int GetCount();
};
diff --git a/include/modes/umode_w.h b/include/modes/umode_w.h
index ddda3db83..503c9ddc8 100644
--- a/include/modes/umode_w.h
+++ b/include/modes/umode_w.h
@@ -21,5 +21,4 @@ class ModeUserWallops : public SimpleUserModeHandler
{
public:
ModeUserWallops();
- unsigned int GetCount();
};
diff --git a/include/users.h b/include/users.h
index e1171e2c3..637f8f88e 100644
--- a/include/users.h
+++ b/include/users.h
@@ -247,11 +247,6 @@ class CoreExport User : public Extensible
*/
std::string cachedip;
- /** When we erase the user (in the destructor),
- * we call this method to subtract one from all
- * mode characters this user is making use of.
- */
- void DecrementModes();
public:
/** Hostname of connection.