diff options
| author | 2025-03-01 16:24:05 +0000 | |
|---|---|---|
| committer | 2025-03-01 16:26:53 +0000 | |
| commit | a27defd72f82627993a059683c8399beb477a800 (patch) | |
| tree | a926b5cab8249832c7d147c508f7f098cc763ff7 /src/socket.cpp | |
| parent | Replace insp::substring_view with the C++20 iterator constructor. (diff) | |
| parent | Avoid the use of ConvToStr in string concatenation. (diff) | |
Merge branch 'insp4' into master.
Diffstat (limited to 'src/socket.cpp')
| -rw-r--r-- | src/socket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socket.cpp b/src/socket.cpp index de90e846e..c11c795fb 100644 --- a/src/socket.cpp +++ b/src/socket.cpp @@ -120,7 +120,7 @@ size_t InspIRCd::BindPorts(FailedPortList& failed_ports) // Check if the port is out of range. if (port <= std::numeric_limits<in_port_t>::min() || port > std::numeric_limits<in_port_t>::max()) { - failed_ports.emplace_back("Port is not valid: " + ConvToStr(port), bindspec, tag); + failed_ports.emplace_back(FMT::format("Port is not valid: {}", port), bindspec, tag); continue; } |
