summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-01-30 17:42:33 -0500
committerAdam <Adam@anope.org>2013-01-30 17:44:07 -0500
commita62698a14a1c8b735050845b752f7a0f7175c227 (patch)
treee126698fd7b35ed3527cf31e8c3c989151304d70 /src
parent47af43c2810224ff0f101f8d0ed160100fae6896 (diff)
Remove sendpass from the configs and the config reader since it no longer exists
Diffstat (limited to 'src')
-rw-r--r--src/config.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/config.cpp b/src/config.cpp
index 2f12fbc6a..f84f4844f 100644
--- a/src/config.cpp
+++ b/src/config.cpp
@@ -423,7 +423,7 @@ static bool ValidateMail(ServerConfig *config, const Anope::string &tag, const A
{
if (config->UseMail)
{
- Anope::string check[] = { "sendmailpath", "sendfrom", "registration_subject", "registration_message", "sendpass_subject", "sendpass_message", "emailchange_subject", "emailchange_message", "memo_subject", "memo_message", "" };
+ Anope::string check[] = { "sendmailpath", "sendfrom", "registration_subject", "registration_message", "emailchange_subject", "emailchange_message", "memo_subject", "memo_message", "" };
for (int i = 0; !check[i].empty(); ++i)
if (value.equals_ci(check[i]))
if (data.GetValue().empty())
@@ -1203,8 +1203,6 @@ ConfigItems::ConfigItems(ServerConfig *conf)
{"mail", "registration_message", "", new ValueContainerString(&conf->MailRegistrationMessage), DT_STRING | DT_ALLOW_NEWLINE, ValidateMail},
{"mail", "reset_subject", "", new ValueContainerString(&conf->MailResetSubject), DT_STRING, ValidateMail},
{"mail", "reset_message", "", new ValueContainerString(&conf->MailResetMessage), DT_STRING | DT_ALLOW_NEWLINE, ValidateMail},
- {"mail", "sendpass_subject", "", new ValueContainerString(&conf->MailSendpassSubject), DT_STRING, ValidateMail},
- {"mail", "sendpass_message", "", new ValueContainerString(&conf->MailSendpassMessage), DT_STRING | DT_ALLOW_NEWLINE, ValidateMail},
{"mail", "emailchange_subject", "", new ValueContainerString(&conf->MailEmailchangeSubject), DT_STRING, ValidateMail},
{"mail", "emailchange_message", "", new ValueContainerString(&conf->MailEmailchangeMessage), DT_STRING | DT_ALLOW_NEWLINE, ValidateMail},
{"mail", "memo_subject", "", new ValueContainerString(&conf->MailMemoSubject), DT_STRING, ValidateMail},