summaryrefslogtreecommitdiff
path: root/src/modules/extra
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/extra')
-rw-r--r--src/modules/extra/m_ldapauth.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/extra/m_ldapauth.cpp b/src/modules/extra/m_ldapauth.cpp
index 2d1551b43..ebfefd02b 100644
--- a/src/modules/extra/m_ldapauth.cpp
+++ b/src/modules/extra/m_ldapauth.cpp
@@ -212,7 +212,7 @@ public:
std::string> &replacements)
{
std::string result;
- result.reserve(MAXBUF);
+ result.reserve(ServerInstance->Config->Limits.MaxLine);
for (unsigned int i = 0; i < text.length(); ++i) {
char c = text[i];