aboutsummaryrefslogtreecommitdiff
path: root/src/snomasks.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2023-01-10 23:02:45 +0000
committerGravatar Sadie Powell2023-01-10 23:30:34 +0000
commitb2d86bb8a1bc965ad72d00ba5ef98d0e4bbfb155 (patch)
tree3319a65d5472ec30780560003264fa815dbfd711 /src/snomasks.cpp
parentFix some unnecessary string copies. (diff)
Qualify auto correctly in all cases.
Diffstat (limited to 'src/snomasks.cpp')
-rw-r--r--src/snomasks.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/snomasks.cpp b/src/snomasks.cpp
index ea11388f3..9d3097710 100644
--- a/src/snomasks.cpp
+++ b/src/snomasks.cpp
@@ -132,7 +132,7 @@ void Snomask::Send(char letter, const std::string& desc, const std::string& msg)
const std::string finalmsg = InspIRCd::Format("*** %s: %s", desc.c_str(), msg.c_str());
/* Only opers can receive snotices, so we iterate the oper list */
- for (const auto& user : ServerInstance->Users.all_opers)
+ for (auto* user : ServerInstance->Users.all_opers)
{
// IsNoticeMaskSet() returns false for opers who aren't +s, no need to check for it separately
if (IS_LOCAL(user) && user->IsNoticeMaskSet(letter))