diff options
Diffstat (limited to 'src/snomasks.cpp')
| -rw-r--r-- | src/snomasks.cpp | 2 |
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)) |
