diff options
author | Adam <Adam@anope.org> | 2011-03-04 20:47:58 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-03-04 20:47:58 -0500 |
commit | 90e5d0feaa1646c28cfce45dbde1a914a6f1d62c (patch) | |
tree | e81cf931c36401b418933aec264c7a260aa5a98a /modules/core | |
parent | d79e22bfaa089e32520d63f633ee499a36905366 (diff) |
Added LDAP support
Diffstat (limited to 'modules/core')
-rw-r--r-- | modules/core/ns_identify.cpp | 5 | ||||
-rw-r--r-- | modules/core/ns_register.cpp | 4 |
2 files changed, 2 insertions, 7 deletions
diff --git a/modules/core/ns_identify.cpp b/modules/core/ns_identify.cpp index f48f5e388..45b189ca6 100644 --- a/modules/core/ns_identify.cpp +++ b/modules/core/ns_identify.cpp @@ -63,7 +63,7 @@ class CommandNSIdentify : public Command else { if (u->IsIdentified()) - Log(LOG_COMMAND, "nickserv/identify") << "to log out of account " << u->Account()->display; + Log(LOG_COMMAND, u, this) << "to log out of account " << u->Account()->display; na->last_realname = u->realname; na->last_seen = Anope::CurTime; @@ -96,8 +96,7 @@ class CommandNSIdentify : public Command "any third-party person."), NickServ->nick.c_str()); } - if (u->IsIdentified()) - check_memos(u); + check_memos(u); } } return MOD_CONT; diff --git a/modules/core/ns_register.cpp b/modules/core/ns_register.cpp index 80dc92488..d7867896c 100644 --- a/modules/core/ns_register.cpp +++ b/modules/core/ns_register.cpp @@ -26,8 +26,6 @@ class CommandNSConfirm : public Command na->nc->pass = nr->password; - na->nc->memos.memomax = Config->MSMaxMemos; - if (force) { na->last_usermask = "*@*"; @@ -42,8 +40,6 @@ class CommandNSConfirm : public Command na->nc->AddAccess(create_mask(u)); } - na->time_registered = na->last_seen = Anope::CurTime; - na->nc->language = Config->NSDefLanguage; if (!nr->email.empty()) na->nc->email = nr->email; |