mirror of
https://github.com/anope/anope.git
synced 2026-07-02 23:03:12 +02:00
Fixed a slight error in email registration/resend and some minor typos.
This commit is contained in:
@@ -275,7 +275,7 @@ class CommandNSResend : public Command
|
||||
{
|
||||
if (Anope::CurTime < u->Account()->lastmail + Config->NSResendDelay)
|
||||
source.Reply(_("Cannot send mail now; please retry a little later."));
|
||||
else if (!SendRegmail(u, na, source.owner))
|
||||
else if (SendRegmail(u, na, source.owner))
|
||||
{
|
||||
na->nc->lastmail = Anope::CurTime;
|
||||
source.Reply(_("Your passcode has been re-sent to %s."), na->nc->email.c_str());
|
||||
|
||||
Reference in New Issue
Block a user