diff options
author | Adam <Adam@anope.org> | 2011-03-05 17:23:22 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-03-05 17:23:22 -0500 |
commit | 6fe2d8af973dfb0c81f513e56488e39a4eea2fbf (patch) | |
tree | 432b93053ef56d1ff98b3193d5768a4ca16d3785 /modules/core/ns_getpass.cpp | |
parent | 90e5d0feaa1646c28cfce45dbde1a914a6f1d62c (diff) |
Removed nickrequests, instead have unconfirmed registrations. Also made ns_resetpass allow remote-id to get past things such as kill immed.
Diffstat (limited to 'modules/core/ns_getpass.cpp')
-rw-r--r-- | modules/core/ns_getpass.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/modules/core/ns_getpass.cpp b/modules/core/ns_getpass.cpp index fdd5f2cd0..b034e2ba4 100644 --- a/modules/core/ns_getpass.cpp +++ b/modules/core/ns_getpass.cpp @@ -27,18 +27,9 @@ class CommandNSGetPass : public Command const Anope::string &nick = params[0]; Anope::string tmp_pass; NickAlias *na; - NickRequest *nr = NULL; if (!(na = findnick(nick))) - { - if ((nr = findrequestnick(nick))) - { - Log(LOG_ADMIN, u, this) << "for " << nr->nick; - source.Reply(_("Passcode for %s is \002%s\002."), nick.c_str(), nr->passcode.c_str()); - } - else - source.Reply(_(NICK_X_NOT_REGISTERED), nick.c_str()); - } + source.Reply(_(NICK_X_NOT_REGISTERED), nick.c_str()); else if (na->HasFlag(NS_FORBIDDEN)) source.Reply(_(NICK_X_FORBIDDEN), na->nick.c_str()); else if (Config->NSSecureAdmins && na->nc->IsServicesOper()) |