diff options
Diffstat (limited to 'src/modules/m_dccallow.cpp')
| -rw-r--r-- | src/modules/m_dccallow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_dccallow.cpp b/src/modules/m_dccallow.cpp index e20bc3914..20e15bd71 100644 --- a/src/modules/m_dccallow.cpp +++ b/src/modules/m_dccallow.cpp @@ -590,7 +590,7 @@ class ModuleDCCAllow : public Module { bannedfilelist newbfl; - for (auto& [_, tag] : ServerInstance->Config->ConfTags("banfile")) + for (const auto& [_, tag] : ServerInstance->Config->ConfTags("banfile")) { BannedFileList bf; bf.filemask = tag->getString("pattern"); |
