aboutsummaryrefslogtreecommitdiffstats
path: root/src/users.cpp
diff options
context:
space:
mode:
authorGravatar attilamolnar2013-06-18 19:10:07 +0200
committerGravatar attilamolnar2013-07-19 19:40:04 +0200
commitfd1d19d6345943ecdb5ce4ef947f9b3c5c8bca86 (patch)
tree20ce1866b482808a85b34c7c09e53c3159617bc0 /src/users.cpp
parentMove SetNoticeMask(), FormatNoticeMasks() and ProcessNoticeMasks() from the U... (diff)
downloadinspircd++-fd1d19d6345943ecdb5ce4ef947f9b3c5c8bca86.tar.gz
inspircd++-fd1d19d6345943ecdb5ce4ef947f9b3c5c8bca86.tar.bz2
inspircd++-fd1d19d6345943ecdb5ce4ef947f9b3c5c8bca86.zip
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 'src/users.cpp')
-rw-r--r--src/users.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 2f90a7970..f4055d464 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -45,13 +45,6 @@ bool User::IsModeSet(unsigned char m)
return (modes[m-65]);
}
-void User::SetMode(unsigned char m, bool value)
-{
- if (!isalpha(m))
- return;
- modes[m-65] = value;
-}
-
const char* User::FormatModes(bool showparameters)
{
static std::string data;