summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2009-08-02 22:23:45 +0000
committerpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2009-08-02 22:23:45 +0000
commit843ee9d4a269e7bbcafcd4dc04f7dc394b1f5a6c (patch)
tree6e3da8718f7d4f050d30111fa55cf539b72f2af6 /src
parent66c72fa2375619fb464150f6829c37554b6307a1 (diff)
Fix a few typos in here so it compiles again.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11464 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/extra/m_ldapauth.cpp2
-rw-r--r--src/modules/extra/m_ldapoper.cpp3
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);
}