diff --git a/modules/commands/ns_register.cpp b/modules/commands/ns_register.cpp index 1595d51a8..7c1d7e4f8 100644 --- a/modules/commands/ns_register.cpp +++ b/modules/commands/ns_register.cpp @@ -234,7 +234,6 @@ class CommandNSRegister : public Command if (nsregister.equals_ci("admin")) { nc->Extend("UNCONFIRMED"); - // User::Identify() called below will notify the user that their registration is pending } else if (nsregister.equals_ci("mail")) { @@ -249,9 +248,17 @@ class CommandNSRegister : public Command if (u) { + // This notifies the user that if their registration is unconfirmed u->Identify(na); u->lastnickreg = Anope::CurTime; } + else if (nc->HasExt("UNCONFIRMED")) + { + if (nsregister.equals_ci("admin")) + source.Reply(_("All new accounts must be validated by an administrator. Please wait for your registration to be confirmed.")); + else if (nsregister.equals_ci("mail")) + source.Reply(_("Your email address is not confirmed. To confirm it, follow the instructions that were emailed to you.")); + } } }