aboutsummaryrefslogtreecommitdiff
path: root/src/socket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/socket.cpp')
-rw-r--r--src/socket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socket.cpp b/src/socket.cpp
index 4f1c164b1..4e408ec33 100644
--- a/src/socket.cpp
+++ b/src/socket.cpp
@@ -65,7 +65,7 @@ size_t InspIRCd::BindPorts(FailedPortList& failed_ports)
size_t bound = 0;
std::vector<ListenSocket*> old_ports(ports.begin(), ports.end());
- for (auto& [_, tag] : ServerInstance->Config->ConfTags("bind"))
+ for (const auto& [_, tag] : ServerInstance->Config->ConfTags("bind"))
{
// Are we creating a TCP/IP listener?
const std::string address = tag->getString("address");