summaryrefslogtreecommitdiff
path: root/modules/extra/ns_identify_ldap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/extra/ns_identify_ldap.cpp')
-rw-r--r--modules/extra/ns_identify_ldap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/extra/ns_identify_ldap.cpp b/modules/extra/ns_identify_ldap.cpp
index 7bc237289..6e01e0103 100644
--- a/modules/extra/ns_identify_ldap.cpp
+++ b/modules/extra/ns_identify_ldap.cpp
@@ -68,7 +68,7 @@ class IdentifyInterface : public LDAPInterface, public Command
ircdproto->SendAccountLogin(u, u->Account());
ircdproto->SetAutoIdentificationToken(u);
- if (this_na && this_na->nc == na->nc)
+ if (this_na && this_na->nc == na->nc && this_na->nc->HasFlag(NI_UNCONFIRMED) == false)
u->SetMode(NickServ, UMODE_REGISTERED);
u->UpdateHost();