… | |
… | |
440 | cf::NDI_UNIQUE | cf::NDI_RED | cf::NDI_REPLY); |
440 | cf::NDI_UNIQUE | cf::NDI_RED | cf::NDI_REPLY); |
441 | } |
441 | } |
442 | }; |
442 | }; |
443 | } else { |
443 | } else { |
444 | my $change = delete $pl->{password_change}; |
444 | my $change = delete $pl->{password_change}; |
445 | cf::debug "CHECK: @$change | $pl->{password_change} <<<<<\n"; |
|
|
446 | |
445 | |
447 | if ($change && (time - $change->[0]) < 60) { |
446 | if ($change && (time - $change->[0]) < 60) { |
448 | $pl->message ( |
447 | $pl->message ( |
449 | "Ok, changed your password!", |
448 | "Ok, changed your password!", |
450 | cf::NDI_UNIQUE | cf::NDI_RED | cf::NDI_REPLY); |
449 | cf::NDI_UNIQUE | cf::NDI_RED | cf::NDI_REPLY); |