diff --git a/modules/commands/ns_resetpass.cpp b/modules/commands/ns_resetpass.cpp index 09427e38a..15ea09252 100644 --- a/modules/commands/ns_resetpass.cpp +++ b/modules/commands/ns_resetpass.cpp @@ -106,7 +106,9 @@ class NSResetPass : public Module else if (passcode.equals_cs(ri->code)) { reset.Unset(nc); - nc->Shrink("UNCONFIRMED"); + + if (Config->GetModule("nickserv")->Get("registration").equals_ci("mail")) + nc->Shrink("UNCONFIRMED"); Log(LOG_COMMAND, source, &commandnsresetpass) << "to confirm RESETPASS and forcefully identify as " << na->nick;