diff options
author | Sadie Powell <sadie@witchery.services> | 2024-03-07 22:42:57 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-03-07 22:52:41 +0000 |
commit | 4e04a11995a4f33b1247b856f3232d92c73f7883 (patch) | |
tree | 8eb18c9c142a09a25ff09aab7c6be470b33fe1d1 /src | |
parent | 76e5480be9f1d291214a7c74b2554c141762d253 (diff) |
Consistently use email instead of e-mail.
Diffstat (limited to 'src')
-rw-r--r-- | src/mail.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mail.cpp b/src/mail.cpp index 46513eafa..87a030668 100644 --- a/src/mail.cpp +++ b/src/mail.cpp @@ -88,7 +88,7 @@ bool Mail::Send(User *u, NickCore *nc, BotInfo *service, const Anope::string &su else if (Anope::CurTime - u->lastmail < b->Get<time_t>("delay")) u->SendMessage(service, _("Please wait \002%lu\002 seconds and retry."), (unsigned long)b->Get<time_t>("delay") - (Anope::CurTime - u->lastmail)); else if (nc->email.empty()) - u->SendMessage(service, _("E-mail for \002%s\002 is invalid."), nc->display.c_str()); + u->SendMessage(service, _("Email for \002%s\002 is invalid."), nc->display.c_str()); else { u->lastmail = nc->lastmail = Anope::CurTime; @@ -115,9 +115,9 @@ bool Mail::Send(NickCore *nc, const Anope::string &subject, const Anope::string } /** - * Checks whether we have a valid, common e-mail address. + * Checks whether we have a valid, common email address. * This is NOT entirely RFC compliant, and won't be so, because I said - * *common* cases. ;) It is very unlikely that e-mail addresses that + * *common* cases. ;) It is very unlikely that email addresses that * are really being used will fail the check. * * @param email Email to Validate |