summaryrefslogtreecommitdiff
path: root/modules/commands/ns_register.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2020-09-11 15:46:42 +0100
committerSadie Powell <sadie@witchery.services>2020-09-28 15:28:26 +0100
commitc7e26c5f679465304fb7ffb27d131857a1030b2e (patch)
tree9a1a3df952a7570dbe47780c17bd5a835da85260 /modules/commands/ns_register.cpp
parent8e0e1806a47e6fa78f884666b55c04edf11fd66c (diff)
Remove nickserv/getpass and Anope::Decrypt.
There is no point having these now plain text passwords are deprecated.
Diffstat (limited to 'modules/commands/ns_register.cpp')
-rw-r--r--modules/commands/ns_register.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/modules/commands/ns_register.cpp b/modules/commands/ns_register.cpp
index 669965fa2..22da55eaf 100644
--- a/modules/commands/ns_register.cpp
+++ b/modules/commands/ns_register.cpp
@@ -227,10 +227,6 @@ class CommandNSRegister : public Command
else
source.Reply(_("Nickname \002%s\002 registered."), u_nick.c_str());
- Anope::string tmp_pass;
- if (Anope::Decrypt(na->nc->pass, tmp_pass) == 1)
- source.Reply(_("Your password is \002%s\002 - remember this for later use."), tmp_pass.c_str());
-
if (nsregister.equals_ci("admin"))
{
nc->Extend<bool>("UNCONFIRMED");