summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-06-18 19:10:07 +0200
committerattilamolnar <attilamolnar@hush.com>2013-07-19 19:40:04 +0200
commitfd1d19d6345943ecdb5ce4ef947f9b3c5c8bca86 (patch)
tree20ce1866b482808a85b34c7c09e53c3159617bc0 /include
parent882084defcc43c876ecb10e30086b63ac074fcad (diff)
Replace hardcoded mode letters, part 3
This changes most remaining User::IsModeSet() calls to use ModeReferences for modes that were created by other modules or the core
Diffstat (limited to 'include')
-rw-r--r--include/usermanager.h4
-rw-r--r--include/users.h1
2 files changed, 0 insertions, 5 deletions
diff --git a/include/usermanager.h b/include/usermanager.h
index 50dac27bf..c6745ace6 100644
--- a/include/usermanager.h
+++ b/include/usermanager.h
@@ -161,10 +161,6 @@ class CoreExport UserManager
*/
unsigned int LocalUserCount() const { return (this->local_count - this->UnregisteredUserCount()); }
- /** Number of users with a certain mode set on them
- */
- int ModeCount(const char mode);
-
/** Send a server notice to all local users
* @param text The text format string to send
* @param ... The format arguments
diff --git a/include/users.h b/include/users.h
index 0e660d098..40ba17332 100644
--- a/include/users.h
+++ b/include/users.h
@@ -436,7 +436,6 @@ class CoreExport User : public Extensible
* @param m The user mode
* @param value On or off setting of the mode
*/
- void SetMode(unsigned char m, bool value);
void SetMode(ModeHandler* mh, bool value);
void SetMode(ModeHandler& mh, bool value) { SetMode(&mh, value); }