diff options
| author | 2022-09-29 12:01:29 +0100 | |
|---|---|---|
| committer | 2022-09-29 12:36:01 +0100 | |
| commit | 89537ed2ab22fcedb25e0378bd2c18e392911c0c (patch) | |
| tree | 4cdea30cb16c0a044d80ba4bab8ef9a645c90824 /src/users.cpp | |
| parent | Use NOMINMAX on Windows and undefine error in the log header. (diff) | |
Fix various cases of the &* being next to the name instead of type.
Diffstat (limited to 'src/users.cpp')
| -rw-r--r-- | src/users.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/users.cpp b/src/users.cpp index eba46f4c4..9a9a39eda 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -306,7 +306,7 @@ void UserIOHandler::OnDataReady() ServerInstance->Users.QuitUser(user, "Excess Flood"); } -void UserIOHandler::AddWriteBuf(const std::string &data) +void UserIOHandler::AddWriteBuf(const std::string& data) { if (user->quitting_sendq) return; @@ -533,7 +533,7 @@ bool LocalUser::CheckLines(bool doZline) { for (int n = 0; check[n]; ++n) { - XLine *r = ServerInstance->XLines->MatchesLine(check[n], this); + XLine* r = ServerInstance->XLines->MatchesLine(check[n], this); if (r) { @@ -947,7 +947,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) { for (const auto* memb : chans) { @@ -1060,7 +1060,7 @@ bool User::ChangeIdent(const std::string& newident) * then their ip will be taken as 'priority' anyway, so for example, * <connect allow="127.0.0.1"> will match joe!bloggs@localhost */ -void LocalUser::SetClass(const std::string &explicit_name) +void LocalUser::SetClass(const std::string& explicit_name) { ServerInstance->Logs.Debug("CONNECTCLASS", "Setting connect class for %s (%s) ...", this->uuid.c_str(), this->GetFullRealHost().c_str()); |
