diff options
| author | 2013-06-18 19:10:07 +0200 | |
|---|---|---|
| committer | 2013-07-19 19:40:04 +0200 | |
| commit | fd1d19d6345943ecdb5ce4ef947f9b3c5c8bca86 (patch) | |
| tree | 20ce1866b482808a85b34c7c09e53c3159617bc0 /src/users.cpp | |
| parent | Move SetNoticeMask(), FormatNoticeMasks() and ProcessNoticeMasks() from the U... (diff) | |
| download | inspircd++-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.cpp | 7 |
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; |
