From 5c4badf8ea3ba775854f0d26d3f2e0e119584faa Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 23 Jan 2023 07:42:07 +0000 Subject: Replace InspIRCd::Format with fmt::format. --- src/modules/extra/m_ldap.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/modules/extra/m_ldap.cpp') diff --git a/src/modules/extra/m_ldap.cpp b/src/modules/extra/m_ldap.cpp index 0a711131e..e3989e842 100644 --- a/src/modules/extra/m_ldap.cpp +++ b/src/modules/extra/m_ldap.cpp @@ -28,6 +28,7 @@ /// $PackageInfo: require_system("debian") libldap2-dev /// $PackageInfo: require_system("ubuntu") libldap2-dev + #include "inspircd.h" #include "threadsocket.h" #include "modules/ldap.h" @@ -465,7 +466,7 @@ private: if (res != req->success) { - ldap_result->error = InspIRCd::Format("%s (%s)", ldap_err2string(res), req->info().c_str()); + ldap_result->error = INSP_FORMAT("{} ({})", ldap_err2string(res), req->info()); return; } -- cgit v1.3.1-10-gc9f91