diff options
| author | 2022-08-24 04:49:49 +0100 | |
|---|---|---|
| committer | 2022-08-24 04:52:45 +0100 | |
| commit | 87fe3cae8aa28ceacc7d20afa1d535630d03bc02 (patch) | |
| tree | d98fee098ff3f309b34206be37626d5cdb866305 /include | |
| parent | Kill some unnecessary misspell-fixer ignore entries. (diff) | |
Replace GetUserCounter() with GetUsers().size().
This method is legacy from when there was a manual user counter and
isn't much of a length saving over the unsugared version.
Diffstat (limited to 'include')
| -rw-r--r-- | include/channels.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/channels.h b/include/channels.h index 4170ce34b..a6bb8c143 100644 --- a/include/channels.h +++ b/include/channels.h @@ -148,13 +148,6 @@ public: */ void SetTopic(User* user, const std::string& topic, time_t topicts, const std::string* setter = nullptr); - /** Obtain the channel "user counter" - * This returns the number of users on this channel - * - * @return The number of users on this channel - */ - size_t GetUserCounter() const { return userlist.size(); } - /** Add a user pointer to the internal reference list * @param user The user to add * |
