diff options
| author | 2023-01-23 07:42:07 +0000 | |
|---|---|---|
| committer | 2023-01-23 13:07:53 +0000 | |
| commit | 5c4badf8ea3ba775854f0d26d3f2e0e119584faa (patch) | |
| tree | 05dd2c5c545f12f71866be6422146477ddd30e3f /src/modules/extra/m_ldap.cpp | |
| parent | Vendor the fmtlib library. (diff) | |
Replace InspIRCd::Format with fmt::format.
Diffstat (limited to 'src/modules/extra/m_ldap.cpp')
| -rw-r--r-- | src/modules/extra/m_ldap.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |
