diff options
| author | Adam <Adam@anope.org> | 2011-03-13 22:59:50 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2011-03-13 22:59:50 -0400 |
| commit | 4fe49af8401b956249d924b89b3e69bce5fb6744 (patch) | |
| tree | 41b5dd5df552dab0eed37bab5cfb81233bf04367 /modules/extra/ns_identify_ldap.cpp | |
| parent | beabbb3a209874ce04d7ee3c2948ad80b8282383 (diff) | |
Fixed a crash in m_ldap is unloaded
Diffstat (limited to 'modules/extra/ns_identify_ldap.cpp')
| -rw-r--r-- | modules/extra/ns_identify_ldap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/extra/ns_identify_ldap.cpp b/modules/extra/ns_identify_ldap.cpp index 08b06a18a..bf98cbeac 100644 --- a/modules/extra/ns_identify_ldap.cpp +++ b/modules/extra/ns_identify_ldap.cpp @@ -217,7 +217,7 @@ class NSIdentifyLDAP : public Module void OnNickIdentify(User *u) { - if (email_attribute.empty()) + if (email_attribute.empty() || !this->ldap) return; try |
