From 612e1a30274bf4e239077f63a877440eb134da4d Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 16 Jan 2023 22:54:02 +0000 Subject: Store the actual error in FailedPort instead of an error code. --- src/inspircd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/inspircd.cpp') 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 tag at " << fp.tag->source.str() << std::endl << std::endl; } -- cgit v1.3.1-10-gc9f91