diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/extra/m_ldapauth.cpp | 2 | ||||
-rw-r--r-- | src/modules/extra/m_ldapoper.cpp | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/modules/extra/m_ldapauth.cpp b/src/modules/extra/m_ldapauth.cpp index 1bc0925da..94c0df469 100644 --- a/src/modules/extra/m_ldapauth.cpp +++ b/src/modules/extra/m_ldapauth.cpp @@ -146,7 +146,7 @@ public: { // Attempt to reconnect if the connection dropped if (verbose) - ServerInstance->SNO->WriteToSnomask('a', "LDAP server has gone away - reconnecting..."); + ServerInstance->SNO->WriteToSnoMask('a', "LDAP server has gone away - reconnecting..."); Connect(); res = ldap_sasl_bind_s(conn, username.c_str(), LDAP_SASL_SIMPLE, &cred, NULL, NULL, NULL); } diff --git a/src/modules/extra/m_ldapoper.cpp b/src/modules/extra/m_ldapoper.cpp index c46bdcf0d..f99b80db3 100644 --- a/src/modules/extra/m_ldapoper.cpp +++ b/src/modules/extra/m_ldapoper.cpp @@ -130,8 +130,7 @@ public: if (res == LDAP_SERVER_DOWN) { // Attempt to reconnect if the connection dropped - if (verbose) - ServerInstance->SNO->WriteToSnomask('a', "LDAP server has gone away - reconnecting..."); + ServerInstance->SNO->WriteToSnoMask('a', "LDAP server has gone away - reconnecting..."); Connect(); res = ldap_sasl_bind_s(conn, username.c_str(), LDAP_SASL_SIMPLE, &cred, NULL, NULL, NULL); } |