diff options
author | Adam <Adam@anope.org> | 2011-03-05 18:18:51 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-03-05 18:18:51 -0500 |
commit | ef0c0957126dea31eb1ee5acf28b6d9f6833b60c (patch) | |
tree | 6f401cf7ac99d7aedf858d8309ba0a6cff14e983 /modules/extra/m_ldap_oper.cpp | |
parent | a0355dfd9de6d7366ed23e62e16d1e945dd28776 (diff) |
Made m_ldap_oper understand deopering
Diffstat (limited to 'modules/extra/m_ldap_oper.cpp')
-rw-r--r-- | modules/extra/m_ldap_oper.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/extra/m_ldap_oper.cpp b/modules/extra/m_ldap_oper.cpp index 8e08587d2..8a5f57116 100644 --- a/modules/extra/m_ldap_oper.cpp +++ b/modules/extra/m_ldap_oper.cpp @@ -49,7 +49,11 @@ class IdentifyInterface : public LDAPInterface } catch (const LDAPException &ex) { - Log() << "m_ldap_oper: " << ex.GetReason(); + if (u->Account()->ot != NULL) + { + u->Account()->ot = NULL; + Log() << "m_ldap_oper: Removed services operator from " << u->nick << " (" << u->Account()->display << ")"; + } } } |