diff options
| author | 2021-04-01 18:10:11 +0100 | |
|---|---|---|
| committer | 2021-04-01 18:10:11 +0100 | |
| commit | ef24ec632da12f272eddcf9924eacde9260597a2 (patch) | |
| tree | 1d9561525e174249c2776fae38ce6c757a17a901 /src/modules/m_sslinfo.cpp | |
| parent | Implement support for random spamtrap channels in the LIST output. (diff) | |
Constify variables within loops.
Diffstat (limited to 'src/modules/m_sslinfo.cpp')
| -rw-r--r-- | src/modules/m_sslinfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_sslinfo.cpp b/src/modules/m_sslinfo.cpp index c06d3409c..7de7f6672 100644 --- a/src/modules/m_sslinfo.cpp +++ b/src/modules/m_sslinfo.cpp @@ -365,7 +365,7 @@ class ModuleSSLInfo return; // Find an auto-oper block for this user - for (auto& [_, ifo] : ServerInstance->Config->oper_blocks) + for (const auto& [_, ifo] : ServerInstance->Config->oper_blocks) { std::string fp = ifo->oper_block->getString("fingerprint"); if (MatchFP(cert, fp) && ifo->oper_block->getBool("autologin")) |
