diff options
| author | 2022-12-08 10:19:47 +0000 | |
|---|---|---|
| committer | 2022-12-08 10:19:47 +0000 | |
| commit | 5e44188857ba733f72f3728f557f7f9bfe251602 (patch) | |
| tree | bbe537fa35ead05c2de65f3ea1165557bf2ece01 /src/users.cpp | |
| parent | Const correct the IRCv3 standard replies API. (diff) | |
More const correctness work.
Diffstat (limited to 'src/users.cpp')
| -rw-r--r-- | src/users.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/users.cpp b/src/users.cpp index f700a7659..2ed275717 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -49,7 +49,7 @@ enum ClientProtocol::MessageList LocalUser::sendmsglist; -bool User::IsNoticeMaskSet(unsigned char sm) +bool User::IsNoticeMaskSet(unsigned char sm) const { if (!isalpha(sm)) return false; @@ -893,7 +893,7 @@ void User::WriteRemoteNumeric(const Numeric::Numeric& numeric) * Don't quote me on the maths as i am not a mathematician or computer scientist, * but i believe this algorithm is now x+(log y) maximum iterations instead. */ -bool User::SharesChannelWith(User* other) +bool User::SharesChannelWith(User* other) const { for (const auto* memb : chans) { |
