aboutsummaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2023-01-16 22:54:02 +0000
committerGravatar Sadie Powell2023-01-16 22:54:02 +0000
commit612e1a30274bf4e239077f63a877440eb134da4d (patch)
tree77402bfa73ce247460a6613de28a393dde2122f6 /src/inspircd.cpp
parentFix some testing changes that snuck in to the previous commit. (diff)
Store the actual error in FailedPort instead of an error code.
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 7774965fc..e7b6257bd 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -378,7 +378,7 @@ namespace
for (const auto& fp : pl)
{
- std::cout << " " << rang::style::bold << fp.sa.str() << rang::style::reset << ": " << strerror(fp.error) << '.' << std::endl
+ std::cout << " " << rang::style::bold << fp.sa.str() << rang::style::reset << ": " << fp.error << '.' << std::endl
<< " " << "Created from <bind> tag at " << fp.tag->source.str() << std::endl
<< std::endl;
}